list_files
List files and directories in a given workspace path to view directory contents and locate files.
Instructions
List files and directories in the specified path within the workspace.
Args:
directory: Relative path to the directory (default is root of workspace).
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_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |