Set display units
session_set_unitsRecord the measurement units to show this customer their artwork sizes in.
Sizes default to IMPERIAL (inches) — the US market. Call this ONLY when the customer explicitly asks to see METRIC (mm/cm), or asks to switch back. The choice sticks for the rest of the session and applies to every prepress and artwork-spec surface, including the upload page.
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>",
"unit": "<unit>"
},
"name": "session_set_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | The measurement system a customer's geometry is rendered in. A session preference, default imperial; distinct from `artifex.product.UnitFormat`, the upstream wire tag that is normalised to mm at ingest and discarded. | |
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |