workspace
Analyze workspace structure and content through metadata, snapshots, or AI-powered exploration to understand project organization before using specialized tools.
Instructions
Workspace metadata/snapshot/explore helper. Use for quick structure discovery before deeper tools.
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": {
"mode": "<mode>",
"path": "<path>"
},
"name": "workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Mode: metadata (file info), snapshot (directory structure for project overview), explore (LLM-powered exploration) | |
| path | Yes | File or directory path. Use "." for workspace root. | |
| maxDepth | No | Maximum directory depth for snapshot (default: 10, use 2-3 for quick overview) | |
| includeHidden | No | Include hidden files/directories in snapshot (default: false, set true to find AGENTS.md in .mcp-local-llm/) | |
| extensions | No | Filter by file extensions (snapshot mode) | |
| question | No | Specific question about the directory (explore mode) | |
| maxEntries | No | Maximum entries to analyze (explore mode) |