A workbook's attached files
attachmentsThe files attached to a workbook for its runs to read and cite. Lists them; add_name with add_content_base64 attaches one; remove takes one off.
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": {
"workbook": "<workbook>"
},
"name": "attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | The name of an attached file to take off. | |
| add_name | No | The name of a file to attach, e.g. 'Q3 board pack.pdf'. | |
| workbook | Yes | The workbook id. | |
| add_content_type | No | Its MIME type. Optional. | |
| add_content_base64 | No | Its bytes, base64, no `data:` prefix. |