← Tool reference

get_transaction_message

Read one transaction message

Read one transaction message in full by the id that list_transaction_messages, list_transaction_events (a reply_received event's id), and Ohvii's own readings carry, including a message older than the list's window. Attachments come back as document ids for get_transaction_document_text. 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
messageIdstringYes

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
messageobjectYes

Extra fields are not allowed.

message: nested contract
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.

Alternative 2: null

retryAfterstring | nullYes

Must match at least one alternative.

retryAfter: nested contract
Alternative 1: string

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

Alternative 2: null

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.

Alternative 2: null

namestring | nullYes

Must match at least one alternative.

name: nested contract
Alternative 1: string

Maximum characters: 2000.

Alternative 2: null

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.

Alternative 2: null

intentstring | nullYes

Must match at least one alternative.

intent: nested contract
Alternative 1: string

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

Alternative 2: null

proposedCounterTermsobject | nullYes

Must match at least one alternative.

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

Extra fields are not allowed.

FieldRequiredMeaning and constraints
closeDaysinteger | nullYes

Must match at least one alternative.

closeDays: nested contract

Further nesting is available in the raw schema below.

expirationUtcstring | nullYes

Must match at least one alternative.

expirationUtc: nested contract

Further nesting is available in the raw schema below.

expirationWhenobject | nullYes

Must match at least one alternative.

expirationWhen: nested contract

Further nesting is available in the raw schema below.

formalStatusstringYes

Must be "unverified".

purchasePricenumber | nullYes

Must match at least one alternative.

purchasePrice: nested contract

Further nesting is available in the raw schema below.

sourcestringYes

Must be "email_body".

Alternative 2: null

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.

Alternative 2: null

namestring | nullYes

Must match at least one alternative.

name: nested contract
Alternative 1: string

Maximum characters: 2000.

Alternative 2: null

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.

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": {
    "messageId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    },
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "messageId",
    "workspaceId"
  ],
  "additionalProperties": false
}
Full output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "message": {
      "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
    },
    "schemaVersion": {
      "type": "string",
      "const": "1"
    },
    "workspaceId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,200}$"
    }
  },
  "required": [
    "message",
    "schemaVersion",
    "workspaceId"
  ],
  "additionalProperties": false
}
Tool annotations
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true
}

Reference 00e5441a095c7e20. Download the full catalog.