← Tool reference

list_repair_requests

List repair requests

List the transaction's repair requests (Request for Repairs No. 1, 2, ...) with each draft's status and the thread's state as the room derives it: open, awaiting the seller, seller responded, resolved, or closed.

Effect
Read
Required scopes
workspace:read
Workflow stages
transaction
Data classes
repairs, transaction
Operation cost
1 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
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
requestsarray<object>Yes

Maximum items: 100.

requests: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
createdAtstring | nullYes

Must match at least one alternative.

createdAt: nested contract
Alternative 1: string

Format: date-time. Pattern validation applies; see the raw schema.

Alternative 2: null

draftIdstringYes

Pattern validation applies; see the raw schema.

itemCountintegerYes

Minimum: 0.

Maximum: 9007199254740991.

priceReductionnumber | nullYes

Must match at least one alternative.

priceReduction: nested contract
Alternative 1: number

Minimum: 0.

Alternative 2: null

requestNumberintegerYes

Maximum: 9007199254740991.

Greater than: 0.

statusstringYes

Allowed: "proposing", "proposal_failed", "pending_buyer_review", "in_signing", "awaiting_co_buyer_signature", "signing_failed", "signed", "attached_to_draft", "attached_failed", "sent", "archived".

updatedAtstring | nullYes

Must match at least one alternative.

updatedAt: nested contract
Alternative 1: string

Format: date-time. Pattern validation applies; see the raw schema.

Alternative 2: null

schemaVersionstringYes

Must be "1".

threadStatusstring | nullYes

Must match at least one alternative.

threadStatus: nested contract
Alternative 1: string

Allowed: "open", "awaiting_seller", "seller_responded", "resolved_accepted", "closed_no_agreement", "closed_cancelled".

Alternative 2: null

workspaceIdstringYes

Pattern validation applies; see the raw schema.

Raw input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "workspaceId"
  ],
  "additionalProperties": false
}
Full output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requests": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "createdAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "draftId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,200}$"
          },
          "itemCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "priceReduction": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "requestNumber": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "status": {
            "type": "string",
            "enum": [
              "proposing",
              "proposal_failed",
              "pending_buyer_review",
              "in_signing",
              "awaiting_co_buyer_signature",
              "signing_failed",
              "signed",
              "attached_to_draft",
              "attached_failed",
              "sent",
              "archived"
            ]
          },
          "updatedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "createdAt",
          "draftId",
          "itemCount",
          "priceReduction",
          "requestNumber",
          "status",
          "updatedAt"
        ],
        "additionalProperties": false
      }
    },
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "threadStatus": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "open",
            "awaiting_seller",
            "seller_responded",
            "resolved_accepted",
            "closed_no_agreement",
            "closed_cancelled"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "requests",
    "schemaVersion",
    "threadStatus",
    "workspaceId"
  ],
  "additionalProperties": false
}
Tool annotations
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true
}

Reference 00e5441a095c7e20. Download the full catalog.