Accept or decline a shared alert
answer_invitationAccept or decline an invitation link the person received, the same as opening it in the app. It only works for the invited email address. Accepting costs nothing; results are delivered only after choose_shared_channel and confirm_shared_channel.
Permission: alerts:write.
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": {
"invitation_url": "<invitation_url>",
"accept": "<accept>"
},
"name": "answer_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | Yes | true accepts; false declines. | |
| invitation_url | Yes | The full invitation link the person received. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |