add_to_queue
Queue a file for printing. Pick exactly one file source: fileId (hex hash from the files.simplyprint.io Upload endpoint) or filesystem (UserFile.uid of an existing library file). Supports PRINT_QUEUE custom fields and a tags object for material colour, nozzle, build plate, or custom tags (for example tags={"material":[{"color":"Red","hex":"#FF0000","nozzle":0,"ext":0}]}).
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": "add_to_queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tags | No | Tag-assignment object. Use material for colour, for example {"material":[{"color":"Red","hex":"#FF0000","nozzle":0,"ext":0}]}; use custom or tag_ids for custom tag IDs, nozzleData for nozzle positions, bedType for the build plate, and detach_tag_ids to remove custom tags. | |
| group | No | Queue group id to add the item to. Use list_queue_groups to discover available groups. | |
| amount | No | Number of copies to queue. Default 1. | |
| fileId | No | Hex bucket hash returned by the files.simplyprint.io Upload endpoint. Use this when the file was uploaded via the API (recommended for integrations). | |
| position | No | Where to insert: "top", "bottom", or a 1-based numeric position. | |
| filesystem | No | UserFile.uid of an existing library file (use list_files to discover). Either numeric id or UID string is accepted. | |
| for_groups | No | ||
| for_models | No | ||
| for_printers | No | ||
| custom_fields | No | PRINT_QUEUE custom fields for the new queue item. Each entry: {customFieldId: string uuid, value: one-of {string, number, boolean, date, options[]}}. |