Upload a file to Wiro
upload_fileCopies a file from a public HTTP(S) URL into Wiro and returns a reusable Wiro link for multiple model runs, supporting images, audio, video, and documents up to about 100 MB.
Instructions
Copy a file from a public http(s) URL to Wiro, up to about 100 MB, and get a Wiro link back. Model file fields take public URLs directly, so use this only when the same file feeds several runs. Single files only, not .zip archives. A file that is only attached in the chat has no URL: ask the user for a public link.
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 | URL of the file to upload (image, audio, video, or document). | |
| file_name | No | Optional filename. Defaults to the URL filename. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |