get_workflow_result
Retrieve the final result of a previously started LinkedIn workflow. If the workflow is still running, get an in-progress snapshot and call again later.
Instructions
Check the current state of a previously started Linked API workflow. Returns the final result when the workflow has completed, otherwise returns the current in-progress snapshot ({status, pendingReason, workflowId, operationName, message}). The server long-polls up to waitSeconds while the workflow is still running; if the budget elapses without completion, the in-progress snapshot is returned and the client should call this tool again with the same workflowId and operationName. Exception: when pendingReason is "outsideWorkingHours" the workflow is parked until the account working hours reopen — the server returns immediately without polling, message states when that is, and calling this tool again before then will report the same state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | Required. The workflow ID returned by the original Linked API tool call. | |
| waitSeconds | No | Optional. Maximum seconds the server should wait for the workflow to complete before returning the current in-progress snapshot. Defaults to the maximum the current MCP client allows; pass 0 to get an immediate one-shot snapshot. | |
| operationName | Yes | Required. The operationName returned by the original Linked API tool call. Used to map the response to the right operation. |