opencode_tool_list
Retrieve JSON schemas for tools available with a specified provider and model, targeting a project directory when needed.
Instructions
List tools with JSON schemas for a given provider and model (experimental)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID | |
| provider | Yes | Provider ID | |
| 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 |