pua_publish
Publish a presence event to a presentity URI via PUA. Define event package, body payload (e.g., PIDF), MIME type, and TTL seconds for expiration.
Instructions
Publish a presence event via PUA.
Parameters
pres_uri:
Presentity URI being published.
event:
Event package (presence, dialog, message-summary, ...).
body:
Body payload (PIDF, dialog-info XML, etc.).
content_type:
MIME type of body.
expires:
TTL in seconds.
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>",
"event": "<event>",
"body": "<body>"
},
"name": "pua_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pres_uri | Yes | ||
| event | Yes | ||
| body | Yes | ||
| content_type | No | application/pidf+xml | |
| expires | No | ||
| id | No | ||
| etag | No | ||
| outbound_proxy | No | ||
| extra_headers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||