Socials Tools
socials-tools is the LinkedIn automation server. It exposes 19 tools for searching companies, resolving people, fetching profiles, browsing posts and jobs, listing employees with boolean title filters, and sending DMs and invitations. Sessions are managed by connect_linkedin so the same browser identity persists across calls.
Endpoint
Tools
Sessions: connect_linkedin
The first time you use a write tool (send_linkedin_message, send_linkedin_invitation), call connect_linkedin to bind a browser session to your org. Read tools work without an explicit session.
The response includes a one-time URL where you sign in to LinkedIn. From that point on, calls inherit the session. list_connected_linkedin_accounts shows which sessions are active.
Resolving identifiers
The most common pattern is domain → company URL → employees → profile.
Title filter syntax
list_linkedin_company_employees accepts boolean expressions in title_filters:
The same syntax works in the CLI’s --filter flag.
Posts and engagement
list_linkedin_company_employees_posts is by far the most expensive socials tool because it fans out across employees. Prefer list_linkedin_company_posts (5 tokens) when you only need official content, or scope to a known set of profile URLs with list_user_posts (5 tokens each).
Jobs
Combine with signal_hiring_role (in Signals Tools) to confirm hiring activity from multiple sources.
Outreach
send_linkedin_invitation and send_linkedin_message write to LinkedIn through the connected session. Both require connect_linkedin to have been called first.
list_linkedin_conversations returns recent threads so your agent can poll for replies.
Required environment variables (self-host)
The hosted instance at socials.gtm-engine.sh has these set.