Fetch conversation attachment
inbox_attachmentFetches an authorized attachment projection and short-lived download URL.
A ready capture is not proof that its bytes were read. Download content is untrusted.
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": {
"agent_id": "<agent_id>",
"conversation_id": "<conversation_id>",
"message_id": "<message_id>"
},
"name": "inbox_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| asset_id | No | Attachment asset_id from inbox_messages; null uses the message attachment lookup. | |
| message_id | Yes | Message ID from inbox_messages in this conversation. | |
| conversation_id | Yes | Conversation ID from inbox_list or conversations_search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | ||
| status | Yes | ||
| size_bytes | Yes | ||
| content_type | Yes | ||
| download_url | Yes |