notify
Show a notification toast on the Kodi box's screen: a title and message, with an optional icon ("info"/"warning"/"error" or any image path/URL) and display time in milliseconds. Doesn't touch playback.
Instructions
Show a notification toast on the Kodi box's screen: a title and message, with an optional icon ("info"/"warning"/"error" or any image path/URL) and display time in milliseconds. Doesn't touch playback. Returns { "shown", "title", "message", "displaytime", "image"? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Icon for the toast: one of the keywords "info", "warning" or "error" for a built-in icon, or any image path/URL the Kodi box can reach. Omitted uses Kodi's default icon. | |
| title | Yes | Notification title — the bold heading of the toast. | |
| message | Yes | Notification body text shown beneath the title. | |
| instance | No | Target Kodi instance. Omitted uses the default ("(null)"). | |
| displaytime | No | How long the toast stays on screen, in milliseconds. Omitted uses Kodi's default of 5000; Kodi clamps very small values to its own minimum. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | The icon keyword or image path that was used, present only when one was supplied. | |
| shown | Yes | Always true — the notification was handed to Kodi. | |
| title | Yes | The title that was shown. | |
| message | Yes | The message that was shown. | |
| displaytime | Yes | The display time in milliseconds — the requested value, or 5000 (Kodi's default) when none was given. |