list_directory
Discover the immediate contents of a workspace directory by providing a relative path, with optional hidden-file inclusion.
Instructions
List the immediate contents of a directory inside the workspace.
Args: path: Path relative to the workspace root (default: workspace root). include_hidden: If True, include dotfiles/dotfolders.
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 | . | |
| include_hidden | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||