Add an image or document
add_filePut an image or a document on a board, the way a person drops a file on it: an image shows as a picture, a document as a file people can open and download. The file comes as an upload name from upload_file, or for a small file as its bytes in base64.
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": {
"boardId": "<boardId>",
"fileName": "<fileName>"
},
"name": "add_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Where to put it, roughly: the top left corner | |
| y | No | ||
| data | No | Or the file itself in base64, for a small file when there is no way to send it to a URL | |
| upload | No | The upload name from upload_file, once the file has been sent to its URL | |
| boardId | Yes | The board's id, from list_boards or create_board | |
| fileName | Yes | The file's name with its extension, like photo.jpg or report.pdf. The extension says what kind of file it is |