Accept or ignore an invitation
respond_to_invitationPrepare to accept or ignore a received LinkedIn connection invitation without sending it: return a preview and confirmation_token, then require explicit user approval before confirming.
Instructions
Prepare accepting or ignoring a received connection invitation. Get the id from list_invitations. This tool does not send anything to LinkedIn. It returns a preview and a confirmation_token. Show the preview to the user word for word and call confirm_action only after the user explicitly approves it.
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": {
"id": "<id>",
"action": "<action>"
},
"name": "respond_to_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invitation id (the inviter's username) from list_invitations. | |
| action | Yes |