directory_list
List all files and directories within a workspace folder. Specify a relative path to explore its contents, with access restricted to the workspace root.
Instructions
List all files and directories inside a target workspace path.
Access is strictly confined to the workspace root.
Args:
path: Target directory path relative to workspace. Defaults to ".".
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": "directory_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |