code_search
Search ServiceNow code by term and table; list or describe Code Search table coverage.
Instructions
Search ServiceNow code or inspect Code Search table coverage.
Args: action: One of 'search', 'list_tables', or 'describe'. term: Search term for action='search'. table: Optional table filter for action='search' (e.g. 'sys_script_include'). search_group: ServiceNow Code Search group; empty uses sn_codesearch.Default Search Group. limit: Max search results for action='search'. Default 20. extended_matching: Include additional Code Search context fields. Default false. Set true when the extra context is needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "code_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | ||
| limit | No | ||
| table | No | ||
| action | No | search | |
| search_group | No | ||
| extended_matching | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |