get_upload_link
Generate a one-time upload URL for a single file (PDF, PostScript, PNG, JPEG, TIFF, or text up to 32 MiB) so you can PUT it to storage for printing without pasting contents.
Instructions
Get a one-time link for uploading ONE file (PDF, PostScript, PNG, JPEG, TIFF or text; up to 32 MiB).
Upload it with an HTTP PUT, not by pasting its contents, e.g.:
curl -sS -T /path/to/file.pdf "<url>"
The link works for 15 minutes. Then use the returned id with print_file.
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": "get_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |