Create an upload
create_uploadFor a local file bigger than 8 MB: returns a one-time upload URL and a curl command. Run the command in a shell (files over 95 MB need parts, see partBytes), then call convert with the returned uploadId. The slot expires after an hour.
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": {
"fileName": "<fileName>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | The file name with its extension | |
| sizeBytes | No | The file size, if known |