upload_file
Upload any local file to a storage bucket. Provide the local file path (absolute or relative) and the destination path within the bucket.
Instructions
Upload any local file to a storage bucket. local_path can be absolute (/Users/...) or relative to buckets/{bucket}/
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": {
"bucket": "<bucket>",
"local_path": "<local_path>",
"storage_path": "<storage_path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Bucket name | |
| local_path | Yes | File path — absolute (/Users/leo/logo.svg) or relative to buckets/{bucket}/ (images/logo.svg) | |
| storage_path | Yes | Destination path inside the bucket (e.g. 'branding/logo.svg') | |
| upsert | No |