> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # SWAIG > The SignalWire AI Gateway Interface. Allows you to create user-defined functions that can be executed during the dialogue. 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](/docs/swml/reference/calling/amazon-bedrock/swaig/functions) 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](/docs/swml/reference/calling/amazon-bedrock/swaig/functions#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`](/docs/swml/reference/calling/amazon-bedrock/swaig/functions) for additional details. --- > The SignalWire AI Gateway Interface. Allows you to create user-defined functions that can be executed during the dialogue. ## Docs - [functions](https://signalwire.com/docs/swml/reference/calling/amazon-bedrock/swaig/functions.md): Functions that can be executed during the interaction with the Amazon Bedrock agent. - [data_map](https://signalwire.com/docs/swml/reference/calling/amazon-bedrock/swaig/functions/data-map.md): Defines how a SWAIG function should process and respond to the user's input data. - [parameters](https://signalwire.com/docs/swml/reference/calling/amazon-bedrock/swaig/functions/parameters.md): The parameters object for the SWAIG function.