List directory
directory_listList the contents of a directory within an open workspace to inspect files and folders.
Instructions
List a directory inside an open workspace.
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": {
"workspaceId": "<workspaceId>"
},
"name": "directory_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| entries | Yes |