Publish Website Widget
publish_website_widgetPublish the managed website voice widget only after the user explicitly approves the displayed project, origins, limits and embed for that exact preview revision. Set body.approved=true and pass body.revision. Return the snippet verbatim. The hosted widget sends visitor microphone audio to PyAI. Sessions may consume project credit and session quotas cannot enforce a hard total spending cap. After an uncertain result, preview the widget before any further action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"body": "<body>"
},
"name": "publish_website_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Saved agent ID in the authenticated project. | |
| body | Yes |