create_attachment
Create a memo attachment by specifying filename and MIME type, with optional base64 content or external URL, to link to a memo later.
Instructions
Create a new attachment (can be linked to memos later)
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": {
"filename": "<filename>",
"type": "<type>"
},
"name": "create_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Related memo resource name (format: memos/{memo}) | |
| type | Yes | MIME type (e.g., "image/png", "application/pdf") | |
| content | No | Base64 encoded file content | |
| filename | Yes | The filename | |
| externalLink | No | External URL |