validate_query
Validate ServiceNow encoded queries before execution. Check for unsafe functions, length limits, and common syntax mistakes, then get issues and suggestions.
Instructions
Lint-check a ServiceNow encoded query BEFORE running it: validates javascript: expressions against the safe function allowlist, length limits, and common mistakes (e.g. using = instead of ^, raw spaces). Returns { valid, issues, suggestions }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The encoded query to validate, e.g. "active=true^priority=1^ORDERBYDESCsys_created_on" |