Upload file to Polza Storage API
upload_fileUploads a local file to Polza Storage API, returning its URI and metadata. Ideal for large images over 20MB or files reused across prompts.
Instructions
Upload a local file through the Polza Storage API and return its URI & metadata. Useful when the image is larger than 20MB or reused across prompts.
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": {
"path": "<path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Server-accessible file path to upload to Polza Storage API. | |
| display_name | No | Optional display name for the uploaded file. |