Get Alert Scripting
get_alert_scriptingRead alert scripting configuration for a specific counter to see current alert script, threshold rules, and settings. This read-only tool helps review or troubleshoot alert definitions.
Instructions
[HTTP mode only] Read alert scripting configuration for a specific counter (read-only). Shows the current alert script, threshold rules, and configuration. Use get_server_info with include_counter_model to discover available counter names.
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": {
"counter_name": "<counter_name>"
},
"name": "get_alert_scripting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_loop | No | Compile log loop value (from scripting response) | |
| log_index | No | Compile log index value (from scripting response) | |
| counter_name | Yes | Counter name to read alert scripting config for (e.g., 'TPS', 'ElapsedTime') | |
| include_compile_log | No | Include script compile log (requires loop/index from previous alert scripting response) |