upload_file
Upload a file to the AIRIOT platform by specifying the local file path. Optionally set the filename and MIME type.
Instructions
上传文件到AIRIOT平台
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": {
"filePath": "<filePath>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | 本地文件路径 | |
| filename | No | 文件名(可选,默认使用原文件名) | |
| mimeType | No | MIME类型(可选) |