Update integration
update_integrationChange the settings of an integration connected to a site, such as Stripe or Calendly. Returns the saved settings. Every integration has a label and a fixed value sent with every event. Integrations that report payments also have a product list and a minimum payment amount. When they are set, events are sent only for those products and for payments of at least that amount. Fields left out stay unchanged. null clears a field. A setting the integration does not support is refused. Use it when the user wants to change which events an integration sends or the value sent with them.
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": {
"site_id": "<site_id>",
"integration_id": "<integration_id>"
},
"name": "update_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Display name. null clears it. | |
| site_id | Yes | Site to act on, as returned by list_sites. | |
| fixed_value | No | Value sent with every event from this integration, in the site's currency. null clears it, so each event carries the integration's own amount. | |
| product_ids | No | Integrations that report products only, such as Stripe. Events are sent only for payments of these product ids. null clears the filter, so events are sent for all products. | |
| integration_id | Yes | Integration id: the `trigger_id` of an integration row in list_triggers. | |
| minimum_purchase_value | No | Integrations that report payment amounts only, such as Stripe. No event is sent for a payment below this amount. null removes the minimum. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Integration name, such as stripe. | |
| label | Yes | Label after the change. | |
| fixed_value | Yes | Fixed value sent with each event. null: the integration's own amount is used. | |
| product_ids | Yes | Product ids events are sent for. null: events are sent for all products. | |
| integration_id | Yes | Integration id. | |
| minimum_purchase_value | Yes | No event is sent for a payment below this amount. null: no minimum. |