List OpenCode API operations
oc_api_opsFilter and inspect OpenCode API operations to find operationIds, methods, paths, and parameters, then view the expected request body schema for a chosen operation.
Instructions
List the ~120 operations of the OpenCode API (operationId, method, path, parameters), with a filter. With operation, show the detailed schema of the expected body.
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": "oc_api_ops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| operation | No | operationId to show the full schema for. |