get_client_script
Retrieve the full details and script body of a ServiceNow client script by providing its system ID, enabling direct access to the code.
Instructions
Get full details and script body of a client script (requires SCRIPTING_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": {
"sys_id": "<sys_id>"
},
"name": "get_client_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sys_id | Yes | System ID of the client script |