Get an attachment
get_attachmentRetrieve a Bookwhen event attachment's title, file name, type, size, and download URL via attachment ID. Optionally include email addresses and phone numbers in the title and file name.
Instructions
One file attached to an event: title, file name, type, size and the download URL (the spec says to use this URL rather than the one it forwards to).
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 | |
| include_contact_details | No | Stop redacting email addresses and phone numbers from the title and file name |