set_purchase_order
Safely preview purchase order changes with dry-run mode before applying. Validate updates via hashes and tokens to prevent unintended inventory writes.
Instructions
Preview-first replacement for the deprecated immediate purchase-order write. Apply remains unavailable until its domain adapter and canary are complete.
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": "set_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | patch | |
| dryRun | No | ||
| values | No | ||
| previewToken | No | ||
| idempotencyKey | No | ||
| purchaseOrderId | No | ||
| expectedDesiredHash | No | ||
| expectedSemanticHash | No | ||
| expectedWriteShapeHash | No | ||
| expectedEntityTimestamp | No |