list_workspace_directory
List a single directory under the repository root to view its layout. For code searching, use query/scout instead.
Instructions
List one directory (non-recursive) under the repo root — for LAYOUT only. To FIND code, prefer query/scout, which search the whole indexed graph at once; do not walk the tree directory-by-directory.
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": "list_workspace_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory relative to repo root (default ".") | |
| repo | No | Repository name (optional; defaults to current MCP workspace) | |
| format | No | Response text encoding: toon (default, token-efficient) | json | |
| max_entries | No | Max entries (cap 2000) |