list_files
Lists files and directories at a specified path, defaulting to home, so MCP agents can inspect local directory contents before shell commands or file reads.
Instructions
List files and directories in a path.
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 |
|---|---|---|---|
| path | No | Directory path (default: home) |