opencode_config_update
Update OpenCode settings by submitting a partial config object, with an optional project directory to apply changes to.
Instructions
Update the opencode configuration. Pass a partial config object.
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": {
"config": "<config>"
},
"name": "opencode_config_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Partial config object with fields to update | |
| directory | No | Project directory to target. Optional; defaults to the server default project. |