Accept Prepared LinkedIn Connection Invitation
linkedin.invitations.accept.executeAccept a pending LinkedIn invitation after verifying request validity and approval. Executes the confirmed acceptance, converting the incoming request into a first-degree connection.
Instructions
Account-changing action. Invoke only when the MCP client's configured approval policy authorizes this exact execute tool. Interactive confirmation is the safe default; an explicit durable per-tool approval may authorize unattended execution. Accept exactly one immutable incoming-request draft after the server verifies the preview, payload hash, draft expiry, idempotency, exact profile identity, and current request controls; then verify those controls are absent and the exact profile visibly shows a first-degree connection.
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": {
"context_id": "<context_id>",
"request_id": "<request_id>",
"action_id": "<action_id>",
"payload_hash": "<payload_hash>",
"approval_preview": "<approval_preview>",
"idempotency_key": "<idempotency_key>"
},
"name": "linkedin.invitations.accept.execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_id | Yes | Immutable action ID returned by the matching prepare tool. | |
| context_id | Yes | ||
| request_id | Yes | ||
| payload_hash | Yes | Exact payload hash returned by the matching prepare tool. | |
| idempotency_key | Yes | ||
| approval_preview | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| status | No | completed | |
| sources | Yes | ||
| replayed | No | ||
| context_id | Yes | ||
| request_id | Yes |