list_dir
Lists the contents of a single directory on your computer, providing a safer alternative to running shell ls commands.
Instructions
List one directory. Prefer this over a shell ls.
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": {
"Path": "<Path>"
},
"name": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Path | Yes | Absolute directory path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |