list_dir
List the contents of a directory within the allowed local directory. Leave path empty to list the root.
Instructions
List the contents of a directory within an allowed local directory. Leave path empty to list the root itself.
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_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |