orion_create_subscription
Create a subscription to receive notifications when entity attributes change. Specify entity type, watched attributes, and notification endpoint.
Instructions
Create a subscription to receive notifications when entities change.
Args: entity_type: Entity type to watch (e.g. 'Camera'). watched_attrs: List of attribute names that trigger notification. notification_url: HTTP endpoint to receive POST notifications. id_pattern: Optional regex to filter by entity ID. description: Human-readable description.
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": {
"entity_type": "<entity_type>",
"watched_attrs": "<watched_attrs>",
"notification_url": "<notification_url>"
},
"name": "orion_create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | ||
| watched_attrs | Yes | ||
| notification_url | Yes | ||
| id_pattern | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |