AI sidecar SWAIG tool webhook
Sent to a sidecar tool's `web_hook_url` (or the SWAIG `defaults.web_hook_url`) when the sidecar
calls one of your functions. Your endpoint runs the function and returns a JSON object with a
`response` string (the result the model reads next) and, optionally, an `action` — a single object
or an array — telling the sidecar what to do. See
[Supported SWAIG actions](/docs/swml/reference/calling/ai-sidecar#supported-swaig-actions) for what
you can return.
The sidecar only listens to the call and never speaks on it, so a `say` action is reported back to
you as a callback rather than being spoken aloud.