Create Upload URL
create-upload-urlGet a short-lived signed URL to PUT a file body to (max 10 MB, pdf/doc/docx/xlsx/pptx/jpg/jpeg/png/gif/webp). Then call upload-file with the returned upload_id to finish. Use upload-file directly with base64 when you can.
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-url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | The file name with its extension, e.g. "brief.pdf". Allowed extensions: pdf, doc, docx, xlsx, pptx, jpg, png, gif, webp, jpeg. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| headers | Yes | ||
| upload_id | Yes | ||
| expires_at | Yes |