opencode_file_list
List files and directories at a specified path, defaulting to the project root, to browse and inspect project contents.
Instructions
List files and directories at a path (via /api/fs/list).
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": "opencode_file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to list (defaults to project root) | |
| directory | No |