SWAIG

View as MarkdownOpen in Claude

The SignalWire AI Gateway Interface. Allows you to create user-defined functions that can be executed during the dialogue.

Properties

amazon_bedrock.SWAIG
object

An object that accepts the following properties.

SWAIG.defaults
object

Default settings for all SWAIG functions. If defaults is not set, settings may be set in each function object. Default is not set.

defaults.web_hook_url
string

The default URL to send status callbacks and reports to for all SWAIG functions. If defaults is not set, web_hook_url may be set in each SWAIG function object. Authentication can also be set in the url in the format of username:password@url.

For what this URL receives and what it should return, see the tool webhook.

SWAIG.functions
object[]

An array of JSON objects to define functions that can be executed during the interaction with the AI. Default is not set. The fields of this object are the six following.

See functions for additional details.