get_invitation_status
Get the connection and invitation status between the connected account and a LinkedIn member. Returns is_connection, invitation_type (SENT/PENDING/WITHDRAWN/REFUSED). Use before send_invitation or send_message to know the relationship (connected, invitation pending, refused). Read-only, cheap.
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": "get_invitation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Reach id of the LinkedIn account to act on, from list_accounts. | |
| 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 |
|---|---|---|---|
| degree | No | Connection distance (1, 2 or 3). | |
| invitation_id | No | Invitation URN, if any. | |
| is_connection | No | True if the member is a 1st-degree connection. | |
| invitation_type | No | 'SENT' (pending sent), 'PENDING' (received, awaiting acceptance), 'WITHDRAWN', or 'REFUSED'. | |
| invitation_secret | No | Shared secret, required to accept a received invitation. |