Preview a buckslip order
lob_buckslip_orders_previewValidates a buckslip order payload and returns a summary with a confirmation token. Required before creating a buckslip order in live mode.
Instructions
Validate a buckslip-inventory-order payload and return a textual summary. Returns a confirmation_token to pass to lob_buckslip_orders_create — required in live mode.
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": {
"buckslip_id": "<buckslip_id>",
"quantity_ordered": "<quantity_ordered>"
},
"name": "lob_buckslip_orders_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Additional Lob API parameters not enumerated above. Merged into the request body verbatim. See https://docs.lob.com for the full parameter list per resource. | |
| buckslip_id | Yes | Buckslip ID (`bck_…`). | |
| idempotency_key | No | Idempotency key (max 256 chars). If omitted, the server auto-generates a value derived from the confirmation_token when present, otherwise a fresh UUIDv4. Lob deduplicates identical keys for 24 hours. | |
| quantity_ordered | Yes | Number of buckslips to order. |