sn_table_schema
Lists a ServiceNow table's columns from sys_dictionary, including name, label, type, max length, mandatory status, and reference target, so you can inspect schema details.
Instructions
List the columns defined on a ServiceNow table, read from sys_dictionary: column name, label, type, max length, whether it is mandatory, and the table a reference points to. Columns inherited from a parent table (for example task for incident) are listed under the parent table name.
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": "sn_table_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name, lowercase letters, digits and underscores only. Example: incident. |