List Attachments
list_attachmentsList documents on a property, client, prospect, location, or pursuit (filename, type such as LOI/Lease, upload date). Use this to find a document, then read_attachment_text to answer questions about its contents. Targeting a property or client returns EVERYTHING filed on that record — documents belonging to the record itself (title report, survey, rep agreement) come back with a null deal_id, and documents filed under a deal come back labelled with their deal_type/deal_id/deal_name. Target a prospect or location instead to see only that one deal's documents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"record_type": "<record_type>",
"record_id": "<record_id>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record_id | Yes | The record id: propertyid / prospectid (client) / propertytoprospectid (prospect) / prospectlocationid (location) / pursuit id. Requires broker participation. | |
| record_type | Yes | "property" = a listing (document belongs to the property itself, not to any one deal on it), "client" = a represented party (document belongs to the client itself), "prospect" = one deal under a property (landlord-rep), "location" = one deal under a client (tenant-rep), "pursuit" = a client or listing the broker is trying to win (from list_pursuits): letters, proposals and the like. Its files stay with it after it is won, read-only. |