Upload a file
growwer_upload_fileUploads an ODT, DOC, DOCX, or TXT file up to 3 MB as base64 with its name, returns an ID for a later write, and expires the file after 24 hours.
Instructions
Use this when a later write needs a document, such as a seller delivering a draft: uploads an odt, doc, docx or txt file of at most 3 MB, sent as its name and base64 content, and answers its id for that write. The file expires after 24 hours.
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": {
"requestId": "<requestId>",
"name": "<name>",
"content": "<content>"
},
"name": "growwer_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The file name, with its extension, as the user would upload it. | |
| content | Yes | The file's bytes in standard base64. At most 3 MB once decoded; upload larger files through the REST API. | |
| requestId | Yes | Required. A new UUID for each distinct write (8 to 128 letters, digits, ".", "_", ":" or "-"). Calling the tool again with the same requestId and arguments returns the first result without writing twice; send a new one for a new write. |