opencode_context
Retrieve full project context including path, VCS info, config, and available agents in one call to understand the current state before starting tasks.
Instructions
Get full project context in one call: current project, path, VCS info, config, and available agents. Useful to understand the current state before starting work.
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 |