opencode_mode
Toggle delegation on or off to control whether AI tools delegate tasks to the OpenCode CLI as a subagent. Set the mode to enable or disable subagent task delegation based on your needs.
Instructions
Gets or sets the delegation toggle ('on' | 'off').
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_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No |