scan_skeleton
Scans a code repository to produce a deterministic module skeleton, including root path, module count, file count, and line counts.
Instructions
Scan a code repository and return a deterministic module skeleton.
Args: project_dir: Absolute path to the project root directory. depth: Directory depth for auto-detecting modules (default 2). code_only: If True, only include code files (default True).
Returns: A dict with: root_path, total_modules, total_files, total_lines, modules[].
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": {
"project_dir": "<project_dir>"
},
"name": "scan_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| depth | No | ||
| code_only | No |