Upload a file
upload_fileStart adding an image or document from the person's computer to a board: PNG, JPEG, WebP, GIF, PDF, Word, PowerPoint, Excel, CSV, text or Markdown, up to 10 MB. Returns a URL to PUT the file to, with a ready curl command, and the file's upload name.
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>",
"bytes": "<bytes>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | The file's exact size in bytes | |
| fileName | Yes | The file's name with its extension, like photo.jpg or report.pdf. The extension says what kind of file it is |