List available agents
opencode_agentsLists configured coding agents with mode and description to select the correct agent for dispatching tasks.
Instructions
Lists the agents configured in opencode with their mode and description, for use as the 'agent' parameter of a dispatch.
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": "opencode_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory whose agent configuration should be read. |