Update an approval request
update_requestChange field values on an approval request the user submitted and that is still open. Editing a request that has already been approved is rejected by the tool. Saving DISCARDS every approval already given: the approvers are cleared and have to decide again. Pending and change-requested requests return to pending; deferred, scheduled and draft ones keep their status. The approvers are re-notified except on scheduled and draft, where the requestor gets the usual notice and approvers and watchers are not told; on a workflow with no approvers nothing re-opens and no approval notifications go out. On every save, outbound emails and webhooks set up on the workflow fire for the status it ends up in. Tell the user that before calling, not after: the preview's on_save says which applies to this request and names whose approval is reset. Two-step: call with confirmed=false (the default) first for a preview of the new values with NOTHING written yet; call again with the same ar_identifier and fields plus confirmed=true to save them. A confirmed=true call with no matching preview from this connection in the last 10 minutes is run as the preview instead, and writes nothing. One preview admits one attempt, so a call that fails needs a new one. If the server cannot reach its preview store it does not hold the call back, so always preview first regardless. A preview also lapses once the request changes, someone else's decision on it included, so the next call previews it again.
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": {
"ar_identifier": "<ar_identifier>",
"fields": "<fields>"
},
"name": "update_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Map of field key to NEW value — ONLY the fields being changed. Prefer the field's `id` (UUID) from get_workflow_details / describe_approval_request as the key; the binding name or exact label are accepted fallbacks. Values follow the field type (numbers for amount/number, YYYY-MM-DD for dates, option values for dropdowns, resolved IDs for vendor/customer/etc. — use search_entities to resolve names to IDs first). A line-item tax cell takes the tax's id, never its percentage; the tool stores the tax's rate. | |
| confirmed | No | false (default) returns a preview of the new values and writes NOTHING. true saves the change. Preview, show the user, wait for their yes, then call again with the same ar_identifier and fields plus true. | |
| ar_identifier | Yes | The approval request to edit — friendly number like 'AR-15' / '15' or the internal integer id. |