List Code Search Groups
list_code_search_groupsList code search groups on a ServiceNow instance to see which tables and fields are included in code searches. Use group names as search_group parameters and sys_ids to add tables.
Instructions
List available code search groups on a ServiceNow instance. Search groups define which tables and fields are included when performing a code search. Each instance typically has a default search group, and additional groups can be created for specific use cases.
Use the group name as the search_group parameter in code_search. Use the group sys_id when adding tables via add_code_search_table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of search groups to return. Default is 100. | |
| instance | No | The ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable. |