← Tool reference

analyze_comps

Analyze comparable sales

Analyze comparable sales using Ohvii's calculation for a buyer-owned listing: pass its listing receipt id, or a workspace id, as listingId. The output is sales evidence, not an offer price; the buyer chooses offer terms. In every comp explanation, say based on public sales data when dataDescription identifies public data; preserve sample or buyer/document-supplied labels. Use public-data wording instead of imported sale set or portal-brand attribution. Retain source links for inspection. Proactively use the host's available web/search tools to check material gaps such as distance and property type, with exact address matches, cited sources and distance method/units. Keep supplemental findings separate from the stored estimate; never invent a distance, rerank the snapshot yourself or claim enrichment was saved. If research is unavailable or inconclusive, explain that specific limit and the next useful step. No offer terms change.

Effect
Read
Required scopes
research:read
Workflow stages
offer, research
Data classes
property listing
Operation cost
8 weighted units; additional domain limits may apply.
Configurations
Standard, Buyer UI v2
Muse proposal
Read. Retrieves or computes authorized information; consult the tool contract for its scopes and result. Meta makes the final classification during review.

Buyer approval and signing controls apply in addition to the scopes above. Read error and retry guidance before implementing recovery.

Input and output contracts

Returns structured content and a JSON text content block. Live discovery may compact a large output schema; execution validates the full contract below.

Input fields

Required applies within the containing object. Optional fields can be omitted; null is accepted only where listed. Field descriptions and constraints come from the source schema. The raw schema remains the complete contract.

FieldRequiredMeaning and constraints
listingIdstringYes

Format: uuid.

Pattern validation applies; see the raw schema.

Output fields

Required applies within the containing object. Optional fields can be omitted; null is accepted only where listed. Field descriptions and constraints come from the source schema. The raw schema remains the complete contract.

FieldRequiredMeaning and constraints
dataDescriptionstring | nullNo

Buyer-facing data basis. Repeat it in comparable-sales explanations; preserve sample or buyer/document-supplied labels. Optional for older stored card results.

Must match at least one alternative.

dataDescription: nested contract
Alternative 1: string

Alternative 2: null

listingIdstringYes

Minimum characters: 1.

Maximum characters: 200.

rankingarray<object>YesNo additional description in the contract.
ranking: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
confidencestringYes

Allowed: "strong", "review", "weak".

idstringYes

Minimum characters: 1.

Maximum characters: 200.

issuesarray<string>YesNo additional description in the contract.
issues: nested contract
Array item contract

Maximum characters: 300.

reasonsarray<string>YesNo additional description in the contract.
reasons: nested contract
Array item contract

Maximum characters: 300.

scorenumberYesNo additional description in the contract.
recommendationobjectYes

Comparable-sale value statistics, not an offer price or buyer-selected terms.

Extra fields are not allowed.

recommendation: nested contract
FieldRequiredMeaning and constraints
bandHighnumber | nullYes

Must match at least one alternative.

bandHigh: nested contract
Alternative 1: number

Alternative 2: null

bandLownumber | nullYes

Must match at least one alternative.

bandLow: nested contract
Alternative 1: number

Alternative 2: null

compRangeHighnumber | nullYes

Must match at least one alternative.

compRangeHigh: nested contract
Alternative 1: number

Alternative 2: null

compRangeLownumber | nullYes

Must match at least one alternative.

compRangeLow: nested contract
Alternative 1: number

Alternative 2: null

compSupportedValuenumber | nullYes

Must match at least one alternative.

compSupportedValue: nested contract
Alternative 1: number

Alternative 2: null

marginalPricePerSqftnumber | nullYes

Must match at least one alternative.

marginalPricePerSqft: nested contract
Alternative 1: number

Alternative 2: null

medianPricePerSqftnumber | nullYes

Must match at least one alternative.

medianPricePerSqft: nested contract
Alternative 1: number

Alternative 2: null

verifiedCountintegerYes

Minimum: 0.

Maximum: 9007199254740991.

schemaVersionstringYes

Must be "1".

sourcesarray<object>YesNo additional description in the contract.
sources: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
confidencestringYes

Allowed: "high", "medium", "low".

idstringYes

Minimum characters: 1.

Maximum characters: 200.

sourcestringYes

Allowed: "metadata", "embedded_json", "visible_page", "car_realtor_database", "web_search", "disclosure_profile", "buyer_confirmed", "manual_demo".

Raw input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "listingId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "listingId"
  ],
  "additionalProperties": false
}
Full output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "dataDescription": {
      "description": "Buyer-facing data basis. Repeat it in comparable-sales explanations; preserve sample or buyer/document-supplied labels. Optional for older stored card results.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "listingId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "ranking": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "confidence": {
            "type": "string",
            "enum": [
              "strong",
              "review",
              "weak"
            ]
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 300
            }
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 300
            }
          },
          "score": {
            "type": "number"
          }
        },
        "required": [
          "confidence",
          "id",
          "issues",
          "reasons",
          "score"
        ],
        "additionalProperties": false
      }
    },
    "recommendation": {
      "type": "object",
      "properties": {
        "bandHigh": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "bandLow": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "compRangeHigh": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "compRangeLow": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "compSupportedValue": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "marginalPricePerSqft": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "medianPricePerSqft": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "verifiedCount": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "bandHigh",
        "bandLow",
        "compRangeHigh",
        "compRangeLow",
        "compSupportedValue",
        "marginalPricePerSqft",
        "medianPricePerSqft",
        "verifiedCount"
      ],
      "additionalProperties": false,
      "description": "Comparable-sale value statistics, not an offer price or buyer-selected terms."
    },
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "confidence": {
            "type": "string",
            "enum": [
              "high",
              "medium",
              "low"
            ]
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "source": {
            "type": "string",
            "enum": [
              "metadata",
              "embedded_json",
              "visible_page",
              "car_realtor_database",
              "web_search",
              "disclosure_profile",
              "buyer_confirmed",
              "manual_demo"
            ]
          }
        },
        "required": [
          "confidence",
          "id",
          "source"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "listingId",
    "ranking",
    "recommendation",
    "schemaVersion",
    "sources"
  ],
  "additionalProperties": false
}
Tool annotations
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true
}

Reference 00e5441a095c7e20. Download the full catalog.