Skip to main content
ctx.notify (PluginNotifier) shows a toast or plays one of the shell’s built-in sounds. You describe what to show and which sound to play, and the shell renders it.
await ctx.notify.toast({
  type: "warning",
  title: "Gate required",
  message: "Please enter your departure gate.",
  durationMs: 8000,
});

await ctx.notify.sound("warning"); // "alert" | "warning" | "error" | "success" | "chime"
When to use it: to surface a passive heads-up that needs no response. If you need an answer back from the pilot, use ctx.dialog or ctx.prompt instead.