Start a PDF upload
create_uploadStart a PDF upload. Returns {upload_id, put_url, expires_at, max_bytes}. HTTP PUT the raw PDF bytes to put_url (Content-Type: application/pdf, no auth needed — the URL is signed). The PUT accepts any PDF and returns 200 with a report of what it read (page count, page size, the size it looks like, warnings); only bytes that are not a PDF are refused (415). Then pass upload_id to create_order with the size you want. No API key or sign-in needed. Without one, uploads are limited per calling origin: 20 an hour and at most 5 unused uploads open at a time, and put_url expires in 2 hours. So PUT the bytes promptly and reuse an upload_id you already hold instead of creating extras. An API key (see apply_enterprise) removes these limits and gives a 24-hour put_url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||