opencode_agent_list
List all available agents with their names, descriptions, and modes to identify which agent can handle a coding task.
Instructions
List all available agents with their names, descriptions, and modes (primary/subagent)
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 |