get_attachment_content
Retrieve binary content of an attachment, such as an image, by its attachment ID. Optionally save the file to a local path.
Instructions
Get the binary content of an attachment (e.g., download an image)
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": "get_attachment_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brainId | No | The ID of the brain | |
| saveToPath | No | Optional path to save the file locally | |
| attachmentId | Yes | The ID of the attachment |