accept_invitation
Accept a pending received connection request. Use to accept a received invitation (invitation_secret from list_received_invitations). Ask the user which ones.
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": {
"account_id": "<account_id>",
"linkedin_id_or_url": "<linkedin_id_or_url>"
},
"name": "accept_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| idempotency_key | No | Optional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours. | |
| linkedin_id_or_url | Yes | The LinkedIn member: profile URL, vanity name (the part after /in/), Sales Navigator URL, or internal member id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accepted | No |