retrieve_connections
Retrieve LinkedIn connections with optional filters for schools, industries, companies, locations, and more. Start a workflow and poll for the final result.
Instructions
allows you to retrieve your connections and perform additional person-related actions if needed (st.retrieveConnections action).
Linked API actions are queued into a cloud-browser workflow and may take several minutes. The server returns immediately after starting the workflow with {status: 'pending'|'running', pendingReason, workflowId, operationName, message}. To retrieve the final result, call get_workflow_result with the returned workflowId and operationName — it will long-poll until completion or the request budget elapses, then return either the final result or another in-progress snapshot. Do not retry the original tool while a workflow is still running; that creates duplicate queued work.
A pending workflow carries pendingReason: 'queued' means it is waiting its turn behind other work on the same account and will start within minutes. 'outsideWorkingHours' means the account has configured working hours and the workflow is parked until they reopen — possibly the next working day. In that case get_workflow_result returns immediately instead of polling, message states when the window opens, and you should report that to the user rather than looping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional. Number of connections to return. Defaults to 10, with a maximum value of 1000. | |
| since | No | Optional. ISO date string that filters connections to only include those made on or after the specified date. Only works when filter is not provided. | |
| filter | No | Optional. Object that specifies filtering criteria for people. When multiple filter fields are specified, they are combined using AND logic. |