Upload attachment to event
upload_attachmentUpload a receipt or invoice file in PDF, PNG, or JPEG format and attach it to an event using the event ID and file path.
Instructions
Upload a receipt/invoice (PDF, PNG or JPEG file from the local filesystem) as an attachment on an event.
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": {
"eventId": "<eventId>",
"filePath": "<filePath>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes | Event id to attach the file to | |
| filePath | Yes | Absolute path to a .pdf, .png or .jpg/.jpeg file |