Check the local OpenCode installation
opencode_checkResolves the configured OpenCode executable and reports its version, verifying the CLI is available before Codex delegates coding tasks.
Instructions
Resolve the configured OpenCode executable and report its version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| command | Yes | ||
| version | Yes | ||
| available | Yes | ||
| resolved_executable | Yes |