code_skeleton
Retrieve a workspace or folder structure as an ASCII tree with file sizes, line counts, solution files, and NuGet summaries to understand existing code before changes.
Instructions
Retrieves the structure of a workspace, or of one folder in it: ASCII folder tree with file sizes and line counts, solution files, and a NuGet summary per project (package versions, SDK, target framework). WILDCARD: pass workspace='*' to list all registered workspaces. OVERVIEW (no depth): folders open level by level until a size budget is used; every folder left closed is marked ▸ with a one-line summary (folders, files, size, large files, main extensions, project file), so even a very large workspace fits. Open a ▸ folder by calling again with its path; pass depth to show an exact number of levels (a large depth shows the whole tree). A folder with many entries is paged with page; folders with many files are collapsed, list them with code_folder_files. To see what changed since a point in time use code_changes_since. Use this BEFORE any change to understand the existing structure.
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": {
"workspace": "<workspace>"
},
"name": "code_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional: page of the folder's own entries when it has more than fit at once, starting at 1 (default 1) | |
| path | No | Optional: folder to show, relative to the workspace root (e.g. 'src/Orders'). Leave empty for the root. | |
| depth | No | Optional: levels below the folder to show (1 = its direct entries). Leave empty for the overview, which opens folders until its size budget is used. | |
| guide | No | true: put the code guide first in the result. Use on your first code call, or when told it changed. | |
| workspace | Yes | Workspace name as shown in Waymark. Use '*' to list all workspaces. |