opencode_config_update
Update OpenCode configuration settings like default model, small model, and default agent. Applies changes to the runtime config and persists them to opencode.json.
Instructions
Update OpenCode configuration settings. Updates both runtime config and persists to opencode.json.
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_config_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Default model (provider/model format) | |
| smallModel | No | Small model for lightweight tasks | |
| defaultAgent | No | Default agent name |