Describe a table
table_schemaInspect a ServiceNow table's fields, types, references, constraints, and class hierarchy—including inherited fields—before querying or writing unfamiliar data.
Instructions
Describe a table: its fields (name, label, type, reference target, max length, mandatory, read-only, which table defines each) and its class hierarchy. Use it before querying or writing an unfamiliar table. Inherited fields are included by default.
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": {
"table": "<table>"
},
"name": "table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name, e.g. incident or cmdb_ci_server. | |
| instance | No | Instance alias from the config (see instance_list). Defaults to the default instance. | |
| includeInherited | No | Include fields inherited from parent tables. Default true. |