← Tool reference

ingest_repair_seller_response

Read seller repair response from a document

Read the seller's reply to a sent repair request out of one of the transaction's documents (the seller's response the buyer added), exactly as the repair room's upload ingest does: Ohvii's parser reads it item by item and records it as the seller's response, replacing an unreviewed earlier reading. The document must already have extracted text, the request must have been sent, and a buyer-reviewed response is never overwritten. The result is Ohvii's reading, not the buyer's word: show it to the buyer and record their review with prepare_repair_seller_response_review. Rate limited per buyer.

Effect
Draft or workspace edit
Required scopes
workspace:write
Workflow stages
transaction
Data classes
repairs, transaction
Operation cost
8 weighted units; additional domain limits may apply.
Configurations
Standard, Buyer UI v2
Muse proposal
Write. Creates or updates draft, document, or workspace data within the authorized workflow. 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
documentIdstringYes

Pattern validation applies; see the raw schema.

draftIdstringYes

Pattern validation applies; see the raw schema.

workspaceIdstringYes

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
draftIdstringYes

Pattern validation applies; see the raw schema.

schemaVersionstringYes

Must be "1".

sellerResponseobjectYes

Extra fields are not allowed.

sellerResponse: nested contract
FieldRequiredMeaning and constraints
buyerAcceptanceLinebooleanYesNo additional description in the contract.
formalDocumentIdstring | nullYes

Must match at least one alternative.

formalDocumentId: nested contract
Alternative 1: string

Pattern validation applies; see the raw schema.

Alternative 2: null

itemsarray<object>Yes

Maximum items: 40.

items: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
actionstringYes

Allowed: "agree", "credit", "decline", "counter".

creditAmountnumber | nullYes

Must match at least one alternative.

creditAmount: nested contract
Alternative 1: number

Greater than: 0.

Alternative 2: null

itemIdstringYes

Pattern validation applies; see the raw schema.

notestring | nullYes

Must match at least one alternative.

note: nested contract
Alternative 1: string

Maximum characters: 6000.

Alternative 2: null

lumpSumCreditnumber | nullYes

Must match at least one alternative.

lumpSumCredit: nested contract
Alternative 1: number

Greater than: 0.

Alternative 2: null

overallstringYes

Allowed: "accept_all", "accept_with_mods", "decline".

priceResponsenumber | nullYes

Must match at least one alternative.

priceResponse: nested contract
Alternative 1: number

Greater than: 0.

Alternative 2: null

reviewedByBuyerbooleanYesNo additional description in the contract.
sellerNotestring | nullYes

Must match at least one alternative.

sellerNote: nested contract
Alternative 1: string

Maximum characters: 6000.

Alternative 2: null

sourcestringYes

Allowed: "inbound_email", "buyer_upload".

workspaceIdstringYes

Pattern validation applies; see the raw schema.

Raw input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "documentId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    },
    "draftId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    },
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "documentId",
    "draftId",
    "workspaceId"
  ],
  "additionalProperties": false
}
Full output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "draftId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    },
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "sellerResponse": {
      "type": "object",
      "properties": {
        "buyerAcceptanceLine": {
          "type": "boolean"
        },
        "formalDocumentId": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,200}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "items": {
          "maxItems": 40,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "enum": [
                  "agree",
                  "credit",
                  "decline",
                  "counter"
                ]
              },
              "creditAmount": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "itemId": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,200}$"
              },
              "note": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 6000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "action",
              "creditAmount",
              "itemId",
              "note"
            ],
            "additionalProperties": false
          }
        },
        "lumpSumCredit": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "overall": {
          "type": "string",
          "enum": [
            "accept_all",
            "accept_with_mods",
            "decline"
          ]
        },
        "priceResponse": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "reviewedByBuyer": {
          "type": "boolean"
        },
        "sellerNote": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 6000
            },
            {
              "type": "null"
            }
          ]
        },
        "source": {
          "type": "string",
          "enum": [
            "inbound_email",
            "buyer_upload"
          ]
        }
      },
      "required": [
        "buyerAcceptanceLine",
        "formalDocumentId",
        "items",
        "lumpSumCredit",
        "overall",
        "priceResponse",
        "reviewedByBuyer",
        "sellerNote",
        "source"
      ],
      "additionalProperties": false
    },
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "draftId",
    "schemaVersion",
    "sellerResponse",
    "workspaceId"
  ],
  "additionalProperties": false
}
Tool annotations
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": false
}

Reference 00e5441a095c7e20. Download the full catalog.