get_overview
Get a large file's structure, size, and semantic outline before reading it; returns line counts, headings, code functions/classes, and search suggestions.
Instructions
Get file structure, size, and semantic outline for large files (code, logs, data).
Use FIRST when working with any file over 1000 lines or when you need to
understand file structure. Returns: line count, byte size, binary detection,
long line stats, section headings, and suggested search patterns. For code
files, uses Tree-sitter to extract functions, classes, and structure;
Markdown files get ATX headings. The response includes outline_status:
"ok" (semantic outline produced), "unsupported_language" (no parser/
extractor for the extension), or "parse_failed" (semantic parse failed;
a plain-text fallback outline is returned). Does NOT return file
content - use read_content or search_content for that.
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": {
"absolute_file_path": "<absolute_file_path>"
},
"name": "get_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed_lines | No | Optional list of changed line ranges from a diff. Each entry is [start, end] or [start, end, type] where type is "added", "modified", or "removed". Example: [[10, 15, "added"], [45, 52]]. Available from diffchunk list_chunks file_details output. | |
| absolute_file_path | Yes | Absolute path to target file (e.g., /path/to/large_module.py) |