search_focused_context
Get full function and class definitions across multiple files by reusing a prior search query, narrowing to relevant source files and returning complete blocks instead of truncated snippets.
Instructions
Use this only after search_repo_context when the relevant code is spread across multiple files and you need full enclosing functions, classes, or similar definitions instead of truncated snippets. It reuses a prior query_id, narrows to a few files, prefers source files, and returns complete matching blocks without dumping whole files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subpath | No | ||
| keywords | No | ||
| query_id | No | ||
| directory | No | ||
| max_files | No | ||
| file_paths | No | ||
| match_mode | No | substring | |
| max_blocks | No | ||
| max_total_lines | No | ||
| paths_exclude_glob | No | ||
| paths_include_glob | No | ||
| max_blocks_per_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||