opencode_config
Manage OpenCode configuration: retrieve full settings, list providers and default models, or merge updates to modify coding-agent behavior.
Instructions
Manage OpenCode configuration. Actions: get (full config), providers (list providers and default models), update (modify config)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "opencode_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Config object to merge (for update action) | |
| action | Yes |