Submit the page mapping
prepress_submit_mappingApply the proposed mapping to the order — the print suppliers' record.
Call only after the customer's approval has been recorded: answer the
APPROVE_MAPPING confirmation with prepress_confirm first, unless the
mapping card already did (the item is approved). This is the step that
commits. Requires a PROPOSED mapping, approved.
Returns a job_id. This waits for page management to finish, so the
result usually reports configured: true and no follow-up is needed. If
it reports configured: false the mapping is applied and still
processing — call prepress_check_configuration later, and never
re-submit.
Job errors: OrderNotMappableError (the order has moved past awaiting
artwork — mapping is no longer possible), MappingNotApprovedError (the
customer hasn't approved yet — answer the APPROVE_MAPPING confirmation
with prepress_confirm), MappingNotProposedError, MappingRejectedError
(a file changed since
the proposal — re-run prepress_map_pages), or
UnrepresentableMappingError, or ItemHasDesignError (the item holds an
attached design, and the design is what prints).
A submitted mapping is what prints for the item, so the design and candidates made for it are released: the next item can be designed.
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": {
"session_id": "<session_id>",
"order_id": "<order_id>",
"item_id": "<item_id>"
},
"name": "prepress_submit_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| order_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |