Get Attachment
get_attachmentRetrieve an attachment's details and a 10-minute download link using its ID; small text files up to 256 KB are returned in the result.
Instructions
Details of a file uploaded to a page, with a download link that works for 10 minutes. A small text file (up to 256 KB) is also returned in the result.
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": {
"attachment_id": "<attachment_id>"
},
"name": "get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | Attachment id, from list_attachments or a page body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||