Preview Spec Fill
preview_spec_fillPreview what a spec fill would do WITHOUT writing anything. Returns the affected item count, a sample of up to 10 items with before→after for each attribute, and the resolved spec values. Use this to verify the filter and values before calling apply_spec_fill with a previewReceipt.
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": "preview_spec_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | Attribute values to set, keyed by custom field fieldName (e.g. {"binding": "Perfect", "trim_width": 6}). Mutually exclusive with templateId (unless overriding specific values). | |
| bookId | No | Optional price book id (GUID) — recorded as context for what motivated this fill. | |
| itemIds | No | List of item ids (GUIDs) to fill. Required (mutually exclusive with itemSkus). Max 500. | |
| itemSkus | No | List of item SKUs to fill. Required (mutually exclusive with itemIds). Max 500. | |
| templateId | No | Template id (GUID) — uses the template's saved spec values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| preview | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |