fetch_company
Retrieve a company's basic information from LinkedIn. Optionally gather its employees, posts, and decision makers as well.
Instructions
Allows you to open a company page to retrieve its basic information (st.openCompanyPage action). Can optionally retrieve employees, posts and decision makers.
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 |
|---|---|---|---|
| companyUrl | Yes | Public or hashed LinkedIn URL of the company. (e.g., 'https://www.linkedin.com/company/microsoft') | |
| retrieveDMs | No | Optional. Whether to retrieve the company's decision makers information. Default is false. | |
| retrievePosts | No | Optional. Whether to retrieve the company's posts information. Default is false. | |
| retrieveEmployees | No | Optional. Whether to retrieve the company's employees information. Default is false. | |
| dmsRetrievalConfig | No | Optional. Configuration for retrieving decision makers. Available only if retrieveDMs is true. | |
| postsRetrievalConfig | No | Optional. Configuration for retrieving posts. Available only if retrievePosts is true. | |
| employeesRetrievalConfig | No | Optional. Configuration for retrieving employees. Available only if retrieveEmployees is true. |