opencode_tool_ids
Discover which tool IDs are available for coding tasks in a project. Provide an absolute directory path to list the tools that can be used for that project, or omit it to use the server's working directory.
Instructions
List all available tool IDs that the LLM can use (experimental)
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_tool_ids"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |