Edit Widget settings
widget_settings_editEdits supplied Widget controls against saved baseline; live without Agent publication.
Omitted fields are preserved. Null team hours clears them; empty copy uses built-in defaults and [] clears questions. The avatar is the Agent's, set in its settings. widget_settings_read shows current settings after conflict/loss; edits need that baseline. No durable mutation receipt exists.
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": {
"agent_id": "<agent_id>",
"channel_id": "<channel_id>",
"data": "<data>"
},
"name": "widget_settings_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Widget appearance, hours and reply copy changes with the baseline from widget_settings_read. | |
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| channel_id | Yes | Channel ID from channels_list, belonging to this Agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| effect | Yes | ||
| channel_id | Yes |