opencode_agent_list
List all available agents, with names, descriptions, and modes, for a target project directory or the server's default project.
Instructions
List all available agents with names, descriptions, and modes.
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_agent_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. |