trawl_search_code
Search source code by query and narrow results with language and symbol-type filters to find functions, classes, or methods in the right files.
Instructions
Search code specifically with language and symbol type filters.
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": {
"query": "<query>"
},
"name": "trawl_search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Code search query | |
| top_k | No | Number of results (default: 40, max: 50) | |
| languages | No | Filter by languages (e.g., python, typescript) | |
| pool_name | No | Pool to search | |
| symbol_types | No | Filter by symbol types (function, class, method) |