add_adhoc_approver
Add an ad-hoc approver to an in-flight ServiceNow approval by inserting a sysapproval_approver row for the specified record and user.
Instructions
Add an ad-hoc approver to an in-flight approval on a record (inserts a sysapproval_approver row). Requires WRITE_ENABLED=true
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": {
"record": "<record>",
"approver": "<approver>"
},
"name": "add_adhoc_approver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | sys_id of the record under approval (sets sysapproval) | |
| approver | Yes | sys_id of the user to add as approver | |
| source_table | No | Table of the source record (source_table field) |