visualize_trend
Build a real-time trend line of ServiceNow record counts over time, providing chart-ready series, Teams Adaptive Card, markdown table, and summary. Read-only.
Instructions
Build a real-time trend line of ServiceNow record counts over time (e.g. incidents opened per day). Returns chart-ready series, a Teams Adaptive Card line chart, a markdown table, and a summary. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Recommended: a span filter, e.g. "sys_created_onONLast 30 days@..." or "active=true" | |
| table | Yes | Table to count, e.g. "incident" | |
| title | No | Optional chart title | |
| interval | No | day (default) | week | month | |
| date_field | No | Date/time field to bucket on (default "sys_created_on") |