Get an upload link
create_uploadReserves a single-use upload link for one file. The link is valid for 60 minutes; the file is held in memory only and deleted after a successful tool call. Returns upload_url (accepts an HTTP PUT with the raw file bytes) and upload_id, which is accepted as an alternative to content_base64 in the files argument of the file tools.
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": {
"name": "<name>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name including the extension, for example report.pdf |