Upload a data file
upload_fileUsed by the panel ask_for_file shows. Don't call it yourself.
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": {
"app": "<app>",
"path": "<path>",
"size": "<size>",
"offset": "<offset>",
"data": "<data>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| data | Yes | ||
| path | Yes | ||
| size | Yes | ||
| offset | Yes | ||
| upload | No |