list_crossproject
List files and directories in an external or companion workspace, returning metadata such as type, size, and modified date. Supports recursive tree listing to inspect cross-project repositories without losing context.
Instructions
List files and directories in a configured workspace root, usually an external or companion repo rather than the current project workspace. Returns metadata (type, size, modified date) and supports recursive tree listing.
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": "list_crossproject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path relative to workspace root. Omit or use "." to list the root. | |
| maxDepth | No | Maximum depth for recursive listing (default: unlimited) | |
| recursive | No | List subdirectories recursively (default: false) | |
| workspace | Yes | Workspace name (none configured — create a workspace-config.json) |