analyze_widget_performance
Assess ServiceNow widget performance by reviewing code patterns, transaction logs, and provider usage. Returns severity-rated findings to diagnose problems.
Instructions
Analyze widget performance — code patterns, transaction logs, provider usage. Returns findings with severity.
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": {
"widget_id": "<widget_id>"
},
"name": "analyze_widget_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Optional page id to correlate with transaction logs | |
| timeframe | No | Time window: last_hour, last_24h, last_7d | last_7d |
| widget_id | Yes | Widget sys_id, id, or name to analyze | |
| analysis_depth | No | Analysis depth: quick, standard, deep | standard |
| max_script_length | No | ||
| min_response_time_ms | No | ||
| include_script_includes | No | ||
| include_angular_providers | No | ||
| include_auto_fix_suggestions | No |