opencode_command_list
List all available slash commands for an OpenCode project, optionally for a specific directory, so MCP clients can discover and use supported commands.
Instructions
List all available slash commands.
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_command_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. |