preview
Simulates a procurement write to show exact effects and every check result without changing data, then returns a one-time confirmation code when no checks block.
Instructions
Show exactly what a write would do and every check result, without writing anything.
Returns a one-time confirmation code when no check blocks. Pass that code to the write tool together with the identical arguments.
Args: action: The write tool to preview: create_purchase_order, onboard_supplier, submit_for_approval, approve_purchase_order, reject_purchase_order, cancel_purchase_order or amend_purchase_order. args: The exact arguments you will pass to that tool (without confirmation_code).
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": {
"action": "<action>",
"args": "<args>"
},
"name": "preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |