Seed Bible extension API (v1.18.0) / seed-bible/extensions / SandboxToolItemOptions
Interface: SandboxToolItemOptions
One entry in a tool's submenu (SandboxToolOptions.items).
Properties
icon?
icon?: SandboxIcon;id
id: string;Unique within the tool: letters, digits, _, . or -, up to 64.
isDisabled?
isDisabled?: boolean;onSelect
onSelect: (context: SandboxToolSelectContext) => void | Promise<void>;Called when the user picks this entry. Counts as a user interaction, so it may open dialogs, copy, play audio or ask for permissions.
Parameters
| Parameter | Type |
|---|---|
context | SandboxToolSelectContext |
Returns
void | Promise<void>
title
title: SandboxTitle;