manage_connections
Your own LinkedIn connections. action:'connect' sends a connection request to profile (optional note) — same limits and checks as send_connection_request. action:'remove' removes 1st-degree connections: pass profiles (up to 5 per call; provider ids "ACo…" or profile slugs, e.g. the id from search with network_distance [1]). Removal is irreversible (they also stop following you) and capped at 1000 per day (resets 00:00 UTC); removals in a call are spaced a few seconds apart, and the response reports each result plus daily_limit {used, limit, remaining}. Both are governed writes: in queue mode they are staged for your review, and every attempt is logged. Requests people send YOU are handled by manage_invitations.
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": {
"action": "<action>"
},
"name": "manage_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | connect: optional personalized note. | |
| act_as | No | APEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own. | |
| action | Yes | 'connect' (send a request) or 'remove' (remove 1st-degree connections). | |
| profile | No | connect: the person to invite — a LinkedIn id ("ACo…") or profile slug. | |
| profiles | No | remove: up to 5 1st-degree connections (LinkedIn ids "ACo…" or profile slugs). Call again for more. |