Extract Code Symbols & Line Ranges
fs_outlineExtracts class, function, interface, type, and Markdown heading outlines with exact start/end line ranges, so you can inspect file structure without reading the entire file.
Instructions
快速提取代码文件的类、函数、接口、类型、Markdown 标题等符号骨架及精确 [startLine, endLine] 行号范围,省去盲读全文。
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": {
"path": "<path>"
},
"name": "fs_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 目标代码或文档文件路径 | |
| filter | No | 可选按符号名关键字过滤 |