Answer a team invitation
respond_to_invitationAccept or decline a received team invitation by ID; accepting joins the team, so confirm with the user before responding.
Instructions
Accept or decline an invitation the user received (id from team_invitations.invitations_received). Accepting joins that team. Confirm with the user first.
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_id": "<invitation_id>",
"accept": "<accept>"
},
"name": "respond_to_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accept | Yes | true = join that team, false = decline | |
| invitation_id | Yes | Id from team_invitations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | No | ||
| message | Yes | ||
| opportunity_id | No |