Upload file
upload_fileImport a public http(s) image, video or audio URL into the
workspace and get a file id to pass in a model's input slots. For a
file with no public URL (a chat attachment, something on the user's
device) use request_upload instead.
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": {
"url": "<url>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||