ask_opencode
Send a task or question to OpenCode within a project context for code writing, editing, or execution.
Instructions
Send an arbitrary prompt to OpenCode in a project context. General-purpose delegation tool.
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": {
"prompt": "<prompt>"
},
"name": "ask_opencode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override model for this call | |
| prompt | Yes | The task or question for OpenCode | |
| project | No | Project name |