upload_file
Writes a base64-encoded file into an approved workspace and enforces a 5 MB size limit.
Instructions
Write base64-encoded file into approved workspace (max 5 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": "<file>",
"data": "<data>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| file | Yes |