Upload File
upload_fileStages a text or base64-encoded file through the upload bridge and returns a file_id and local_path for print validation or printing.
Instructions
Stage a text or base64-encoded binary file through the upload bridge.
Returns file_id and local_path that can be passed to validate_print_job or print_file.
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": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| ttl_seconds | No | ||
| content_text | No | ||
| content_type | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||