approve_purchase_order
Approves a pending purchase order as the configured approver, not the requester, after validating the preview confirmation code; supports an optional comment.
Instructions
Approve a pending purchase order as the configured user (never its requester).
Args: po: Purchase order ID. confirmation_code: From preview("approve_purchase_order", ). comment: Optional approval comment.
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": {
"po": "<po>"
},
"name": "approve_purchase_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po | Yes | ||
| comment | No | ||
| confirmation_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |