create_subscription
Set up webhook subscriptions to monitor Microsoft Teams resources for changes (created, updated, deleted) and receive notifications to a specified URL.
Instructions
Create a webhook subscription for change notifications
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": {
"resource": "<resource>",
"change_type": "<change_type>",
"notification_url": "<notification_url>"
},
"name": "create_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Resource URL to monitor (e.g. /teams/{id}/channels) | |
| change_type | Yes | Type of change (created, updated, deleted) | |
| notification_url | Yes | URL where notifications are sent | |
| expiration_date_time | No | Optional expiration (ISO 8601, max 3 days) |