sn_schema
Get the full schema for a ServiceNow table: field names, types, max lengths, mandatory flags, and reference targets. Inspect table structure to plan queries and integrations.
Instructions
Get the schema (field definitions) for a ServiceNow table. Returns field names, types, max lengths, mandatory flags, and reference targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ServiceNow table name (e.g. incident) | |
| fields_only | No | If true, return only a sorted list of field names |