← Tool reference

list_transaction_messages

List transaction messages

List the buyer-visible transaction message history, newest first, over the product's window of the 50 most recent messages. A whole thread with full bodies is large, so narrow it: limit (1 to 50), direction (inbound, outbound, or draft), since (an ISO date-time; only mail from then on), messageIds (specific messages), and bodyChars (characters of each body, 0 for subjects only). The page block says how many matched and whether older mail may exist beyond the window; get_transaction_message returns any one message in full by its id. A listing-side email whose attachments could not be filed as a disclosure package carries disclosureIngestion (deferred with a retryAfter, or failed, in which case the files are ordinary documents until the buyer adds them as a package). Inbound and external content is delimited as untrusted data; storage references, tracking credentials, private notes, provider secrets, and URLs are removed.

Effect
Read
Required scopes
workspace:read
Workflow stages
closing, offer, transaction
Data classes
communications, 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
bodyCharsintegerNo

Characters of each body to return, 0 to 16000 (the default and the most a body returns here); 0 omits bodies. get_transaction_message returns one message whole.

Minimum: 0.

Maximum: 16000.

directionstringNo

Allowed: "draft", "inbound", "outbound".

limitintegerNo

Page size, 1 to 50 (the default is the maximum); newest first.

Minimum: 1.

Maximum: 50.

messageIdsarray<string>No

Minimum items: 1.

Maximum items: 50.

messageIds: nested contract
Array item contract

Pattern validation applies; see the raw schema.

sincestringNo

Format: date-time.

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
messagesarray<object>Yes

Maximum items: 50.

messages: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
attachmentDocumentIdsarray<string>Yes

Maximum items: 50.

attachmentDocumentIds: nested contract
Array item contract

Pattern validation applies; see the raw schema.

bodystring | nullYes

Must match at least one alternative.

body: nested contract
Alternative 1: string

Maximum characters: 16000.

Alternative 2: null

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

directionstringYes

Allowed: "draft", "inbound", "outbound", "unknown".

disclosureIngestionobject | nullYes

Must match at least one alternative.

disclosureIngestion: nested contract
Alternative 1: object

Extra fields are not allowed.

FieldRequiredMeaning and constraints
errorCodestring | nullYes

Must match at least one alternative.

errorCode: nested contract
Alternative 1: string

Pattern validation applies; see the raw schema.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

retryAfterstring | nullYes

Must match at least one alternative.

retryAfter: nested contract
Alternative 1: string

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

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

statusstringYes

Allowed: "deferred", "failed", "queued".

Alternative 2: null

fromobject | nullYes

Must match at least one alternative.

from: nested contract
Alternative 1: object

Extra fields are not allowed.

FieldRequiredMeaning and constraints
emailstring | nullYes

Must match at least one alternative.

email: nested contract
Alternative 1: string

Maximum characters: 2000.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

namestring | nullYes

Must match at least one alternative.

name: nested contract
Alternative 1: string

Maximum characters: 2000.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

Alternative 2: null

idstringYes

Pattern validation applies; see the raw schema.

receivedAtstring | nullYes

Must match at least one alternative.

receivedAt: nested contract
Alternative 1: string

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

Alternative 2: null

reviewobject | nullYes

Must match at least one alternative.

review: nested contract
Alternative 1: object

Extra fields are not allowed.

FieldRequiredMeaning and constraints
confidencenumber | nullYes

Must match at least one alternative.

confidence: nested contract
Alternative 1: number

Minimum: 0. Maximum: 1.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

intentstring | nullYes

Must match at least one alternative.

intent: nested contract
Alternative 1: string

Allowed: "acceptance", "counter", "neutral_reply", "receipt", "rejection".

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

proposedCounterTermsobject | nullYes

Must match at least one alternative.

proposedCounterTerms: nested contract
Alternative 1: formalStatus = "unverified"

Extra fields are not allowed.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

requiresBuyerReviewbooleanYesNo additional description in the contract.
Alternative 2: null

senderstring | nullYes

Must match at least one alternative.

sender: nested contract
Alternative 1: string

Allowed: "buyer", "listing_agent", "known_contact", "unknown".

Alternative 2: null

statusstring | nullYes

Must match at least one alternative.

status: nested contract
Alternative 1: string

Allowed: "bounced", "complained", "delivered", "failed", "queued", "received", "sent".

Alternative 2: null

subjectstring | nullYes

Must match at least one alternative.

subject: nested contract
Alternative 1: string

Maximum characters: 2000.

Alternative 2: null

toarray<object>Yes

Maximum items: 20.

to: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
emailstring | nullYes

Must match at least one alternative.

email: nested contract
Alternative 1: string

Maximum characters: 2000.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

namestring | nullYes

Must match at least one alternative.

name: nested contract
Alternative 1: string

Maximum characters: 2000.

Further nesting is available in the raw schema below.

Alternative 2: null

Further nesting is available in the raw schema below.

warningsarray<object>Yes

Maximum items: 4.

warnings: nested contract
Array item contract

Extra fields are not allowed.

FieldRequiredMeaning and constraints
codestringYes

Allowed: "wire_instructions_unverified_sender", "wire_instructions_listing_side", "wire_instructions_unconfirmed".

severitystringYes

Allowed: "critical", "caution".

textstringYes

Minimum characters: 1.

Maximum characters: 600.

titlestringYes

Minimum characters: 1.

Maximum characters: 120.

pageobjectYes

Extra fields are not allowed.

page: nested contract
FieldRequiredMeaning and constraints
bodyCharsintegerYes

Minimum: 0.

Maximum: 16000.

limitintegerYes

Minimum: 1.

Maximum: 50.

matchedintegerYes

Minimum: 0.

Maximum: 9007199254740991.

olderMayExistbooleanYesNo additional description in the contract.
returnedintegerYes

Minimum: 0.

Maximum: 9007199254740991.

schemaVersionstringYes

Must be "1".

workspaceIdstringYes

Pattern validation applies; see the raw schema.

Raw input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "bodyChars": {
      "description": "Characters of each body to return, 0 to 16000 (the default and the most a body returns here); 0 omits bodies. get_transaction_message returns one message whole.",
      "type": "integer",
      "minimum": 0,
      "maximum": 16000
    },
    "direction": {
      "type": "string",
      "enum": [
        "draft",
        "inbound",
        "outbound"
      ]
    },
    "limit": {
      "description": "Page size, 1 to 50 (the default is the maximum); newest first.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "messageIds": {
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{1,200}$"
      }
    },
    "since": {
      "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)))$"
    },
    "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": {
    "messages": {
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attachmentDocumentIds": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,200}$"
            }
          },
          "body": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 16000
              },
              {
                "type": "null"
              }
            ]
          },
          "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"
              }
            ]
          },
          "direction": {
            "type": "string",
            "enum": [
              "draft",
              "inbound",
              "outbound",
              "unknown"
            ]
          },
          "disclosureIngestion": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "errorCode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[a-z0-9_.:-]{1,80}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "retryAfter": {
                    "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"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "deferred",
                      "failed",
                      "queued"
                    ]
                  }
                },
                "required": [
                  "errorCode",
                  "retryAfter",
                  "status"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "from": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "email": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "email",
                  "name"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,200}$"
          },
          "receivedAt": {
            "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"
              }
            ]
          },
          "review": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "confidence": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "intent": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "acceptance",
                          "counter",
                          "neutral_reply",
                          "receipt",
                          "rejection"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "proposedCounterTerms": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "closeDays": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 365
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "expirationUtc": {
                            "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"
                              }
                            ]
                          },
                          "expirationWhen": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "date": {
                                    "type": "string",
                                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                                  },
                                  "label": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 80
                                  },
                                  "local": {
                                    "type": "string",
                                    "minLength": 16,
                                    "maxLength": 40
                                  },
                                  "time": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 20
                                  },
                                  "timezone": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "utc": {
                                    "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)))$"
                                  },
                                  "weekday": {
                                    "type": "string",
                                    "enum": [
                                      "Monday",
                                      "Tuesday",
                                      "Wednesday",
                                      "Thursday",
                                      "Friday",
                                      "Saturday",
                                      "Sunday"
                                    ]
                                  }
                                },
                                "required": [
                                  "date",
                                  "label",
                                  "local",
                                  "time",
                                  "timezone",
                                  "utc",
                                  "weekday"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "formalStatus": {
                            "type": "string",
                            "const": "unverified"
                          },
                          "purchasePrice": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "source": {
                            "type": "string",
                            "const": "email_body"
                          }
                        },
                        "required": [
                          "closeDays",
                          "expirationUtc",
                          "expirationWhen",
                          "formalStatus",
                          "purchasePrice",
                          "source"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "requiresBuyerReview": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "confidence",
                  "intent",
                  "proposedCounterTerms",
                  "requiresBuyerReview"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "sender": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "buyer",
                  "listing_agent",
                  "known_contact",
                  "unknown"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "bounced",
                  "complained",
                  "delivered",
                  "failed",
                  "queued",
                  "received",
                  "sent"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "subject": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 2000
              },
              {
                "type": "null"
              }
            ]
          },
          "to": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "email": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 2000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 2000
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "email",
                "name"
              ],
              "additionalProperties": false
            }
          },
          "warnings": {
            "maxItems": 4,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "wire_instructions_unverified_sender",
                    "wire_instructions_listing_side",
                    "wire_instructions_unconfirmed"
                  ]
                },
                "severity": {
                  "type": "string",
                  "enum": [
                    "critical",
                    "caution"
                  ]
                },
                "text": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 600
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 120
                }
              },
              "required": [
                "code",
                "severity",
                "text",
                "title"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "attachmentDocumentIds",
          "body",
          "createdAt",
          "direction",
          "disclosureIngestion",
          "from",
          "id",
          "receivedAt",
          "review",
          "sender",
          "status",
          "subject",
          "to",
          "warnings"
        ],
        "additionalProperties": false
      }
    },
    "page": {
      "type": "object",
      "properties": {
        "bodyChars": {
          "type": "integer",
          "minimum": 0,
          "maximum": 16000
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 50
        },
        "matched": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "olderMayExist": {
          "type": "boolean"
        },
        "returned": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "bodyChars",
        "limit",
        "matched",
        "olderMayExist",
        "returned"
      ],
      "additionalProperties": false
    },
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "messages",
    "page",
    "schemaVersion",
    "workspaceId"
  ],
  "additionalProperties": false
}
Tool annotations
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true
}

Reference 00e5441a095c7e20. Download the full catalog.