Skip to content

TextOnlyGadgetConfig

Defined in: gadgets/types.ts:360

Configuration for triggering a gadget when receiving text-only response

name: string

Defined in: gadgets/types.ts:362


optional parameterMapping: (text) => Record<string, unknown>

Defined in: gadgets/types.ts:367

Optional function to map text to gadget parameters. If not provided, text will be passed as { text: string }

string

Record<string, unknown>


type: "gadget"

Defined in: gadgets/types.ts:361