List Code Search Tables
list_code_search_tablesList the tables in a code search group to see which fields are searched. Use this to verify coverage or identify missing tables to add for complete search results.
Instructions
List the tables associated with a code search group. These are the tables and fields that are searched when performing a code search with that group.
Use this to understand what a search group covers, or to identify if a specific table is missing and needs to be added via add_code_search_table.
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": {
"search_group": "<search_group>"
},
"name": "list_code_search_tables"
}
}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_group | Yes | The search group NAME (not sys_id) to list tables for. Use `list_code_search_groups` to find available group names. |