scan_project
Scan the current workspace read-only to map directories and file paths, return bounded file:line evidence, and produce a diagram draft for draw_board.diagram to visualize project structure.
Instructions
可选能力:只读扫描当前工作区的目录与文件路径,并返回少量 file:line 证据文本,同时给一份可直接传给 draw_board.diagram 的草图(DIAGRAM_DRAFT_JSON)。项目结构只是画板可以讨论的内容之一;本工具不生成图、不改画板、不写文件,也不授权代码变更。要可视化时把草图传给 draw_board。
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": "scan_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum directory depth, 1-6; defaults to 3 | |
| max_files | No | Maximum number of entries, 1-400; defaults to 80 | |
| include_evidence | No | Include bounded file:line evidence; defaults to true |