upload_attachment
Upload a file encoded in base64 to Zendesk. Returns an upload token needed to attach the file to a ticket comment.
Instructions
Upload a file (base64) to Zendesk. Returns an upload token to pass to create_ticket_comment's upload_tokens. Requires the tickets:write scope. Max 10 MB.
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": {
"file_name": "<file_name>",
"data_base64": "<data_base64>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| data_base64 | Yes | ||
| content_type | No | application/octet-stream |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||