workspace_snapshot
Scan a workspace directory to produce a filtered file tree snapshot that respects .gitignore, enabling structured documentation for security reviews.
Instructions
Generate a snapshot of the workspace structure (file tree with .gitignore filtering)
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": {
"root_path": "<root_path>"
},
"name": "workspace_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum depth to scan (default: 5) | |
| root_path | Yes | Root directory to scan |