Issue Purchase Order
issue_purchase_orderIssue a purchase order that is in Created status. An order a person has already approved is issued; an unapproved order is routed to Waiting Approval instead, because an assistant never approves a purchase order. The preview shows the order, vendor, total and the status it will move to. Requires Write + purchasing.execute.
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": {
"purchaseOrderId": "<purchaseOrderId>"
},
"name": "issue_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. | |
| purchaseOrderId | Yes | Purchase order id (GUID), document number (e.g. PO-2026-10-000118), or the short form people use for an open order: its last digits ("118", "PO 118"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| effects | No | ||
| preview | No | ||
| warnings | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| purchaseOrder | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |