Answer: Call context.ui.toast.show with an object containing title, message, variant, and duration. For example, context.ui.toast.show({ title: "Acme", message: "Saved", variant: "success", duration: 3000 }). Status: Confirmed Entry: tool/opencode/integrations/tui-plugin-toast Revision: 1 Digest: sha256:0b490041173a72e5 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:55:42Z Last changed: 2026-11-13T03:55:42Z Last verified: 2026-11-20T13:44:29Z Next check: 2026-11-21T13:44:29Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of supported options | title, message, variant, and duration | | [1] | 2026-11-20 example duration | 3000 | milliseconds | [1] | 2026-11-20 example variant | success | | [1] | 2026-11-20 Sources: [1] opencode. "Building TUI plugins | OpenCode". https://opencode.ai/docs/build/plugins/cli/ Role: primary. Accessed: 2026-11-20T13:44:29Z Quote: "Toasts support title, message, variant, and duration." (Supports: supported options) Quote: "duration : 3000" (Supports: example duration) Quote: "variant : "success"" (Supports: example variant) Snapshot SHA-256: 32429ffb8f3f458756c2be453fc1da3c8da59b96466f57cad07715af7be04446 (captured 2026-11-18T13:38:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:38:08Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:29Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:29Z Last attempt: 2026-11-20T13:44:29Z Notes and limitations: Extracted automatically from a single official source (section "Dialogs and toasts"). Related: https://latestn.com/tool/opencode/integrations/use-in-ci How do I use opencode in a CI pipeline like GitHub Actions? https://latestn.com/tool/opencode/integrations/websearch-providers-env-vars Which web search providers does opencode support and what environment variables do they use? https://latestn.com/tool/opencode/memory-and-context/agents-md-discovery-order How does opencode discover and order AGENTS.md instruction files? https://latestn.com/tool/opencode/integrations/subscribe-rpc-events How do I subscribe to RPC events in an opencode Effect plugin? https://latestn.com/tool/opencode/integrations/subscribe-rpc-events-2 How do I subscribe to opencode RPC events? https://latestn.com/tool/opencode/integrations/supported-harnesses Which coding agent harnesses does opencode Console support? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:55:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/tui-plugin-toast/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/integrations/tui-plugin-toast POST: https://latestn.com/dispute/tool/opencode/integrations/tui-plugin-toast with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/tui-plugin-toast?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I show a toast notification from an opencode TUI plugin? Revision 1, last verified 2026-11-20T13:44:29Z. https://latestn.com/tool/opencode/integrations/tui-plugin-toast (accessed 2026-11-21T09:52:46Z). @misc{LatestN_tool_opencode_integrations_tui_plugin_toast_r1, title = {How do I show a toast notification from an opencode TUI plugin?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/tui-plugin-toast}}, note = {Revision 1; digest sha256:0b490041173a72e5; last verified 2026-11-20T13:44:29Z; accessed 2026-11-21T09:52:46Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/integrations/tui-plugin-toast