agentskit.js

createChatTrigger

Auto-generated API reference for createChatTrigger.

Function: createChatTrigger()

createChatTrigger<TContext>(options): ChatTrigger

Defined in: chat-trigger.ts:224

Build a unified chat-surface trigger. Wire the returned handler into your HTTP framework (Express / Hono / Next route handler) at the surface's webhook URL.

#Type Parameters

#TContext

TContext = unknown

#Parameters

#options

ChatTriggerOptions<TContext>

#Returns

ChatTrigger

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page