Add a member to the group
xmatters_add_a_member_to_the_groupAdd a member to an existing xMatters group using their ID and recipient type. Specify the group ID and confirm the action to update membership.
Instructions
Add a member to the group. POST /api/xm/1/groups/{groupID}/members. Body fields: id, recipientType. Reference: https://help.xmatters.com/xmapi/#add-a-member-to-the-group Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
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": {
"path": "<path>",
"body": "<body>",
"confirm": "<confirm>"
},
"name": "xmatters_add_a_member_to_the_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Complete API JSON payload (including nested fields). See https://help.xmatters.com/xmapi/#add-a-member-to-the-group | |
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined. | |
| confirm | Yes | Explicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES. |