opencode_ask
Send a prompt to OpenCode and get the AI response by creating a session in one MCP call.
Instructions
Ask OpenCode in one step: create a session, send a prompt, return the AI response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| title | No | ||
| format | No | ||
| prompt | Yes | ||
| system | No | ||
| modelID | No | ||
| variant | No | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| providerID | No |