presence_refresh_watchers
Force a NOTIFY to all watchers of a presence URI. Specify the presentity URI, event package, and refresh type to immediately update presence information.
Instructions
Force a NOTIFY to all watchers of a presence URI.
Parameters
pres_uri:
Presentity URI (e.g. sip:alice@example.com).
event:
Presence event package: presence, dialog, message-summary,
call-info, etc.
refresh_type:
0 = publish-refresh, 1 = performance-refresh.
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": {
"pres_uri": "<pres_uri>"
},
"name": "presence_refresh_watchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pres_uri | Yes | ||
| event | No | presence | |
| refresh_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||