Start file upload
create_upload[write] Open an upload of a local file (video, image or audio, up to 4 GB) and sign a URL for each part. Use for a file on your machine: PUT each part to its url, keep each ETag, then complete_upload. For parts past the first 50, or after 15 minutes, call again with upload_id and part_numbers. Not for a web address (use import_media_from_url). Returns upload_id, part_size, part_count, parts [{part_number, url}], how (a shell recipe) and next_part_numbers when more remain. Related: complete_upload, import_media_from_url, list_media. Full docs: load_skill with tools: [name].
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": {
"project_id": "<project_id>"
},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | No | Exact size in bytes. To open an upload. | |
| items | No | Many files at once, max 8, each with this tool's fields; fields beside it are defaults. | |
| filename | No | The file's name, e.g. talk.mp4. To open an upload. | |
| upload_id | No | An open upload's id, to sign more of its parts instead of opening a new one. | |
| project_id | Yes | The AskEditor project this acts on (from list_projects). | |
| content_type | No | Its type (default read from the filename's extension). | |
| part_numbers | No | 1-based parts to sign (default the first 50). |