opencode_model_configure
Configure model options such as reasoning effort, max tokens, and thinking, then update runtime settings and persist them to opencode.json.
Instructions
Configure model options (reasoningEffort, maxTokens, thinking, etc.). Updates both runtime config and persists to opencode.json.
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": {
"provider": "<provider>",
"model": "<model>",
"options": "<options>"
},
"name": "opencode_model_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID | |
| options | Yes | Model options (reasoningEffort, maxTokens, thinking, etc.) | |
| provider | Yes | Provider ID |