debugging-mutations
Installation
SKILL.md
Debugging & Mutation Inspection
When you've executed a tool against a ServiceNow instance and need to verify what actually happened — or diagnose why something didn't — these tools answer "what really changed and why". Use them after the fact, never as a substitute for picking the right tool in the first place.
Available debugging tools
| Tool | Purpose |
|---|---|
snow_inspect_mutations |
Inspect record changes (INSERT/UPDATE/DELETE) since a timestamp via sys_audit |
snow_get_logs |
Query platform logs with a time filter. Pass log_table to switch source: syslog (default), syslog_app_scope (scoped-app log), syslog_transaction (HTTP transactions), sys_script_execution_history (background-script traces) |
snow_session_context |
Dump the authenticated user, roles, current update set, domain. Use before ACL-sensitive debugging — "is this failing because I lack a role?" |
snow_get_script_output |
Output of previously executed scripts |
snow_trace_execution |
Server-side script execution tracing |
snow_get_flow_execution_logs |
Flow Designer execution history |
snow_get_inbound_http_logs |
Inbound REST API call logs |
snow_get_outbound_http_logs |
Outbound REST API call logs |
snow_audit_trail_analysis |
Audit trail analysis with anomaly detection |
snow_manage_flow (with verify=true) |
Verify a Flow Designer mutation immediately after running it |