Lookup Table
lookup_tableSearch for ServiceNow tables by name or label to verify existence, discover internal names, find related tables, and check table hierarchy. Queries the sys_db_object table.
Instructions
Search for ServiceNow tables by name or label. Queries the sys_db_object table to find and validate table names.
Use this tool to:
Verify a table name exists before using it with query_table or in GlideRecord scripts
Discover the correct internal name for a table when you only know the display label
Find related tables (e.g., search "incident" to see incident, incident_alert, etc.)
Check table hierarchy (which table a table extends)
Returns: table name (internal), label (display), parent table, whether it is extendable, number prefix, and application scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| search_term | Yes | Table name or label to search for. Case-insensitive partial matching (contains). Examples: "incident", "cmdb_ci", "Change Request". | |
| limit | No | Maximum number of results to return. Default is 25, max is 100. |