upsert_webhook
Creates or updates inFlow Inventory webhook subscriptions for selected events, sending notifications to a URL. Legacy immediate-write tool; use set_webhook instead.
Instructions
[LEGACY IMMEDIATE WRITE — HIGH RISK: BYPASSES INFLOW_ENABLE_SAFE_WRITES] Use set_webhook instead. Create or update a webhook subscription
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": {
"url": "<url>",
"events": "<events>"
},
"name": "upsert_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Webhook ID (required for updates) | |
| url | Yes | Webhook endpoint URL | |
| events | Yes | Events to subscribe to | |
| isActive | No | Whether webhook is active |