manage_scripted_rest
List and retrieve ServiceNow Scripted REST services and resources, enabling quick lookup of sys_ids for sys_ws_definition and sys_ws_operation records.
Instructions
CRUD Scripted REST services + resources (sys_ws_definition/sys_ws_operation). Use list/get to find sys_ids.
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>"
},
"name": "manage_scripted_rest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Service name search | |
| action | Yes | ||
| offset | No | ||
| service | No | Service sys_id:<id> or name | |
| count_only | No |