List a workspace directory
list_directoryList files and subdirectories inside a sandboxed workspace directory. Omit path to view the workspace root.
Instructions
List the files and subdirectories inside a directory within the server's sandboxed 'workspace'. Omit 'path' to list the workspace root.
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_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path relative to the workspace root. Defaults to the workspace root. |