upload_file
Upload any local file to Nutstore Cloud using its local path and a remote destination. Handles text, images, PDFs, archives, and more.
Instructions
将本机单个文件上传到坚果云。 支持任意格式(文本、图片、PDF、压缩包等)。 local_path 为本机上已存在的文件路径,例如 /home/user/docs/report.pdf
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": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |