opencode_tui_show_toast
Display toast notifications in the OpenCode TUI to provide real-time feedback on task progress, success, warnings, or errors.
Instructions
Show a toast notification in the TUI
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": {
"message": "<message>"
},
"name": "opencode_tui_show_toast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional toast title | |
| message | Yes | Toast message text | |
| variant | No | Toast variant (default: info) | |
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |