Read an attachment
read_attachmentShared attachments expire after 24 hours and are revoked immediately when removed from the shared sent-chat list or when chat is reset. Dashboard metadata exposes expiresAt; reconnecting clients renew available uploads. Read an explicitly shared sent-chat attachment by id and dashboardId. Images return native image data; documents return bounded extracted text with truncation metadata.
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": {
"attachmentId": "<attachmentId>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboardId | No | Which live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected. | |
| attachmentId | Yes | ||
| idempotencyKey | No | ||
| expectedRevision | No |