Get a link to upload a big file
get_upload_linkA one-file upload link (valid 15 minutes, up to 50 MB) for when you can run a command, such as curl -T with the file on disk. Send the file with PUT and the Content-Type given, then call upload_file with the upload_id.
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": {
"file_name": "<file_name>"
},
"name": "get_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | With its extension, e.g. openapi.json. |