Flux LinkedIn MCP
v1.0.1LinkedIn intelligence: post analytics and research for public profiles and company pages.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_profiles List Profiles
[Read · free] List all tracked LinkedIn profiles for the authenticated user. Returns profile IDs needed by other tools.
preview_profile Preview a LinkedIn profile
[Acquire · free] Analyze a public LinkedIn profile or company page without a Flux account: pulls the latest ~50 posts (once per profile) and returns a teaser: post count, average engagement, the format that beats the baseline, the top post and the recent trend, plus a preview_id. The full breakdown (best day and hour, top and bottom posts with reasons, trends by format) and keyword search need a free Flux account: call preview_posting_insights or preview_search_posts with the preview_id, which asks the person to sign in where the client supports it, or give the person the continue_url if that…
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string | Public LinkedIn profile or company URL, e.g. https://www.linkedin.com/in/janedoe |
preview_posting_insights Preview posting insights
[Read · free] Full breakdown for a previewed profile (from preview_profile): best day, hour, format and length, the top and bottom 5 posts with measured reasons, and engagement trend by format. Requires a free Flux account; calling it asks the person to sign in where the client supports it, otherwise use continue_url from preview_profile.
| Parameter | Type | Description |
|---|---|---|
preview_id * | string | preview_id returned by preview_profile |
preview_search_posts Search previewed posts
[Read · free] Keyword search over the latest 50 posts of a previewed profile (from preview_profile). Case-insensitive substring match; returns matching posts ordered by engagement. Requires a free Flux account; calling it asks the person to sign in where the client supports it, otherwise use continue_url from preview_profile.
| Parameter | Type | Description |
|---|---|---|
preview_id * | string | preview_id returned by preview_profile |
query * | string | Text to look for in the posts, 2 to 100 characters |
claim_preview Claim a previewed profile
[Act · writes · irreversible] Make a profile from preview_profile your own Flux dashboard. Call this only when the person says the profile is theirs: the person cannot undo a claim. Requires sign-in; creates a free dashboard showing the latest 50 posts, one per account. Refuses if the account already has a dashboard; the breakdown tools still work then.
| Parameter | Type | Description |
|---|---|---|
preview_id * | string | preview_id returned by preview_profile |
get_posts Get Posts
[Read · free] List a tracked profile's persisted posts with full metrics and text — query against the local post library, no LinkedIn pull, free. Use this when the caller already has a profile_id and wants to read its posts. Filter by date range, post type, minimum engagement, or text. Pass `scope` (a post_collections.id) to restrict to a specific collection (e.g. an external profile, topic stream, or hand-curated set). Paginated. For keyword/semantic search across posts, use `search_posts`. For fresh LinkedIn pulls, use `linkedin_profile_posts`.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Tracked profile ID from list_profiles |
date_from | string | Start date (ISO 8601, e.g. 2025-01-01) |
date_to | string | End date (ISO 8601) |
min_engagement | number | Minimum total engagement |
page | number | Page number (1-based) |
page_size | number | Results per page (max 50) |
post_type | string | Filter by post type. 'article' is a LinkedIn-native article or newsletter edition (article_title is the headline, article_image_url the cover image). |
scope | string | Optional post_collections.id to filter posts to a specific collection |
search | string | Text search across post content (case-insensitive) |
sort_by | string | Sort field |
sort_dir | string | Sort direction |
get_profile_summary Get Profile Summary
[Read · free] Get KPI summary for a tracked profile: total posts, average engagement (broken down by likes/comments/shares/conversation rate), posts per week, engagement trend, top format, and posting goal status.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Tracked profile ID from list_profiles |
get_posting_insights Get Posting Insights
[Read · free] Get optimal posting patterns for a profile: best day of week, best hour, format performance breakdown, and character length sweet spot. Includes full metric breakdown (likes, comments, shares, conversation rate) for every bucket. All metrics relative to the user's own baseline. Pass `scope` (a post_collections.id) to recompute the patterns against a specific collection.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Tracked profile ID from list_profiles |
date_from | string | Start date (ISO 8601) |
date_to | string | End date (ISO 8601) |
scope | string | Optional post_collections.id to scope the analysis |
get_topic_insights Get Topic Insights
[Read · free] Surface the most-frequent topics in a profile's posts, with engagement context. Returns top N unigrams and (optionally) top N bigrams ranked by post count, each with avg_engagement, vs_baseline, and a sample_post_url. Mirrors the dashboard topics chart, server-side. Pass `scope` (a post_collections.id) to scope the analysis to a collection.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Tracked profile ID from list_profiles |
bigrams | boolean | Also compute and return top bigrams (default true) |
date_from | string | Start date (ISO 8601) |
date_to | string | End date (ISO 8601) |
n | integer | Max terms per list (default 15) |
scope | string | Optional post_collections.id to scope the analysis |
get_engagement_trends Get Engagement Trends
[Read · free] Get engagement time series for a profile with gap-filled buckets, rolling averages, and trend direction. Each bucket includes avg engagement, likes, comments, shares, and conversation rate. Useful for understanding whether engagement is growing or declining. Pass `scope` (a post_collections.id) to plot trends for a specific collection.
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Tracked profile ID from list_profiles |
date_from | string | Start date (ISO 8601) |
date_to | string | End date (ISO 8601) |
granularity | string | Time bucket granularity |
rolling_window | number | Rolling average window size in buckets (default: 4 for weekly, 7 for daily, 3 for monthly) |
scope | string | Optional post_collections.id to scope the time series |
search_posts Search Posts
[Read · free] Keyword + semantic search over persisted posts in the local library — full-text + pgvector cosine, no LinkedIn pull, free. Use this when the caller has a query string and wants ranked persisted-post results. Pass `scope` (a post_collections.id) to limit to a specific collection. For fresh LinkedIn keyword pulls, use `linkedin_post_search` instead (5 credits).
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Tracked profile ID from list_profiles |
query * | string | Search query (e.g. 'cybersecurity tips', 'leadership') |
limit | number | Max results to return |
mode | string | Search mode: hybrid (keyword + semantic), keyword (FTS only), or semantic (embedding similarity only) |
scope | string | Optional post_collections.id to restrict results to a collection |
get_credit_balance Get Credit Balance
[Meta · free] Return the authenticated user's current credit balance, the current calendar month's credit period (UTC), that month's allocation if one was granted (null otherwise), credits used since the period started, and the most recent allocation. Free.
get_usage_history Get Usage History
[Meta · free] Return recent credit_ledger transactions for the authenticated user. Filter by tool name, reason, or date range. Paginated. Free.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Start date (ISO 8601) |
date_to | string | End date (ISO 8601) |
limit | number | Max rows to return |
reason | string | Filter by ledger reason |
tool_name | string | Filter to a specific MCP tool |
get_cost_estimate Get Cost Estimate
[Meta · free] Preview what a tool call will cost before running it. Pass tool_name plus the params you intend to call it with: variable-cost tools (get_post_set_engagers, map_constellation, enrich_people, linkedin_profile_posts, linkedin_company_posts, linkedin_post_reactions, linkedin_post_comments, run_stream_now) are priced from those params with the same formula the tool's balance pre-check uses. Returns { tool_name, cost_max, cost_typical?, unit, explanation, cost (= cost_max), balance, sufficient, known_tool }. cost_max is the worst case the balance must cover; cost_typical is what such…
| Parameter | Type | Description |
|---|---|---|
tool_name * | string | MCP tool name (e.g. 'get_post_set_engagers') or stream type (e.g. 'external_profile') |
params | object | The params you plan to call the tool with. Examples: get_post_set_engagers { profile_id | collection_id | post_ids / post_urls, max_posts, max_pages_per_post, max_enrich, freshness_days } (with a scop… |
create_stream Create Stream
[Act · writes · schedules paid runs] Create a new research stream (external profile, company, topic, person interests, hiring signals, or ad watch). Running the stream on its schedule costs credits (see get_cost_estimate for the per-type cost). own_profile streams are not created here — they come from subscription checkout.
| Parameter | Type | Description |
|---|---|---|
name * | string | User-facing label for this stream |
type * | string | Stream type |
history_days | integer | How far back the first run should reach, in days. Bounds the walk by TIME where initial_max_pages bounds it by COST — the run stops at whichever limit it hits first, so pair a window with enough pag… |
initial_max_pages | integer | Opt-in deep first-run for external_profile, company and person_interests streams (1-5, default 1). A budget, not a price — you are billed for pages actually walked. A page is ~50 posts for profile/c… |
params | object | Type-specific config: topic uses {query, authorsIndustryId?, contentType?, postedLimit?, sortBy?}; hiring_signals/ad_watch use {company?, keywords?, ...} |
schedule | string | Run schedule. Defaults to 'weekly'. 'monthly' runs every 30 days — the cheapest recurring cadence, and the usual choice for client profiles reported on monthly. |
source_url | string | LinkedIn URL for external_profile / company / person_interests streams |
list_streams List Streams
[Read · free] List all research streams for the authenticated user (external profiles, companies, topics, person interests, hiring signals, ad watches, and own_profile). Pass `type` to filter. Replaces list_profiles for the streams-first world, but list_profiles continues to work for V1-compatible callers.
| Parameter | Type | Description |
|---|---|---|
include_inactive | boolean | Include paused streams (active = false) |
type | string | Filter by stream type |
get_stream_feed Get Stream Feed
[Read · free] Return the most recent posts a stream has collected into the library, newest first by published_at. Use this to browse what a topic / external profile / person_interests / company stream has surfaced on its schedule.
| Parameter | Type | Description |
|---|---|---|
stream_id * | string | Stream ID from list_streams |
limit | number | Max posts to return |
pause_stream Pause Stream
[Act · writes] Pause a stream so it stops running on its cron schedule. Existing posts remain in the library. Use resume_stream to re-enable it. own_profile streams are billing-managed and cannot be paused here.
| Parameter | Type | Description |
|---|---|---|
stream_id * | string | Stream ID from list_streams |
resume_stream Resume Stream
[Act · writes] Resume a paused stream. Sets active=true and queues it to run on the next cron tick by clearing next_run_at. own_profile streams are billing-managed and cannot be resumed here.
| Parameter | Type | Description |
|---|---|---|
stream_id * | string | Stream ID from list_streams |
delete_stream Delete Stream
[Act · writes · destructive] Delete a stream and its stream_runs. Posts collected by the stream stay in your library (stream_id is set to NULL via ON DELETE SET NULL) so historical data isn't lost. Auto-collection is deleted with the stream. own_profile streams cannot be deleted through this tool; the own profile is managed from Settings and billing.
| Parameter | Type | Description |
|---|---|---|
stream_id * | string | Stream ID from list_streams |
run_stream_now Run Stream Now
[Acquire · stream price/page] Trigger an immediate run of an active stream, bypassing its schedule. The run is fire-and-forget — the response confirms the dispatch but post collection happens asynchronously. Credits are charged for pages actually walked, not pages requested: one page is taken upfront and the rest settled when the run finishes, so a run that stops early (or fails) costs less than max_pages implies. Paused streams must be resumed first. Use list_streams or get_stream_feed to see results once the run completes.
| Parameter | Type | Description |
|---|---|---|
stream_id * | string | Stream ID from list_streams |
history_days | integer | How far back this run should reach, in days. Bounds the walk by TIME where max_pages bounds it by COST — it stops at whichever limit it hits first, so pair a deep window with enough pages to reach i… |
max_pages | integer | Upper bound on pages for this run (1-5, default 1) — a budget, not a price. Honoured for external_profile, company and person_interests. You are billed only for pages actually walked; a person_inter… |
resume | boolean | Continue a person_interests backfill from where the deepest previous run stopped, instead of re-walking the newest pages. Use this for 'pull more history' — without it you re-fetch and re-pay for co… |
linkedin_profile_info LinkedIn Profile Info
[Acquire · 5 credits] Fetch a LinkedIn person profile (headline, current role, work history, education, location). Costs 5 credits per call. Results are upserted into `people` (structured fields) and `linkedin_profiles` (so profile-brief renders) — same enrichment side-effect as the other linkedin_profile_* tools.
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string | LinkedIn profile URL (e.g. https://www.linkedin.com/in/username) |
refresh | boolean | Bypass the cache and fetch a fresh copy from LinkedIn (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
linkedin_profile_posts LinkedIn Profile Posts
[Acquire · 5 credits/page] Fetch recent posts from a LinkedIn person profile. 5 credits per page of 50, up to 250 posts, charged only for pages actually fetched. Results are stored in the post library (source_type='external') and linked to a linkedin_profiles row so profile-brief can render research-only prospects.
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string | LinkedIn profile URL (e.g. https://www.linkedin.com/in/username) |
max_posts | number | Maximum posts to return (1-250). 5 credits per page of 50, charged only for pages actually fetched. |
refresh | boolean | Bypass the cache and re-fetch from LinkedIn (5 credits per page of 50, charged only for pages actually fetched). Default false: a previously-fetched result is returned free, with how long ago it was r… |
linkedin_company_posts LinkedIn Company Posts
[Acquire · 5 credits/page] Fetch recent posts from a LinkedIn company page. 5 credits per page of 50, up to 250 posts, charged only for pages actually fetched. Results are stored in the post library (source_type='external') and linked to a linkedin_profiles row (profile_type='company').
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string | LinkedIn company URL (e.g. https://www.linkedin.com/company/acme) |
max_posts | number | Maximum posts to return (1-250). 5 credits per page of 50, charged only for pages actually fetched. |
refresh | boolean | Bypass the cache and re-fetch from LinkedIn (5 credits per page of 50, charged only for pages actually fetched). Default false: a previously-fetched result is returned free, with how long ago it was r… |
linkedin_post_search LinkedIn Post Search
[Acquire · 5 credits] Search LinkedIn posts by keyword. Costs 5 credits per call. Returns a single page of matching posts, each with a post_id (stored as a stub, no extra credit) you can pass to get_post_set_engagers to pull who engaged; _meta.next_step has that call ready.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query / keywords |
filters | object | Optional filters |
refresh | boolean | Bypass the cache and re-run the search live (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
linkedin_profile_reactions LinkedIn Profile Reactions
[Acquire · 5 credits] Fetch the recent posts a LinkedIn person has reacted to. Useful for inferring interests. Costs 5 credits per call.
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string | LinkedIn profile URL of the person whose reactions you want |
refresh | boolean | Bypass the cache and re-fetch from LinkedIn (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
linkedin_profile_comments LinkedIn Profile Comments
[Acquire · 5 credits] Fetch the recent posts a LinkedIn person has commented on. Useful for inferring interests and conversation partners. Costs 5 credits per call.
| Parameter | Type | Description |
|---|---|---|
linkedin_url * | string | LinkedIn profile URL of the person whose comments you want |
refresh | boolean | Bypass the cache and re-fetch from LinkedIn (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
linkedin_job_search LinkedIn Job Search
[Acquire · 5 credits] Search LinkedIn job postings. Useful for tracking hiring signals at target companies. Costs 5 credits per call.
| Parameter | Type | Description |
|---|---|---|
keywords * | string | Job title keywords (e.g. 'staff engineer python') |
companyId | string | Restrict to a LinkedIn company ID (numeric, e.g. '1441'). Not a name or slug — resolve one first with linkedin_company_info (1 credit) or linkedin_company_search, both of which return the company's… |
location | string | Location filter (e.g. 'San Francisco, CA') |
postedLimit | string | Only jobs posted within this window. |
refresh | boolean | Bypass the cache and re-run the search live (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
sortBy | string | Sort order. 'date' is the useful one for hiring signal. Default: relevance. |
linkedin_ad_search LinkedIn Ad Search
[Acquire · 10 credits] Search the LinkedIn ad library. Useful for tracking competitor ad creative and messaging. Costs 10 credits per call.
| Parameter | Type | Description |
|---|---|---|
company | string | Company name or LinkedIn slug to filter ads |
keywords | string | Keyword filter applied to ad creative |
refresh | boolean | Bypass the cache and re-run the search live (costs 10 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
linkedin_people_search LinkedIn People Search
[Acquire · 5 credits] Search LinkedIn people. Filter by company, title, location, or free-text keywords. Costs 5 credits per page of 25 (map_constellation's built-in lead search is billed at a bundled 1 credit instead, a deliberate discount). Each person comes back with current title, company, company id, start date and location. To list the people at one company, pass its LinkedIn company URL or numeric id as `company` and walk `page` while `truncated` is true. Results are saved to `people` with their current position, so get_outreach_path can route to them (pass a result's `person_id` as `t…
| Parameter | Type | Description |
|---|---|---|
company | string | Current company. Pass a LinkedIn company URL (https://www.linkedin.com/company/acme) or a numeric LinkedIn company ID (e.g. '1441', the `id` linkedin_company_info and linkedin_company_search return) f… |
keywords | string | Free-text search (e.g. 'data engineer fintech') |
location | string | Location filter (e.g. 'New York') |
page | integer | Results page, 25 people per page (default 1). 5 credits per page not already cached. |
refresh | boolean | Bypass the cache and re-run the search live (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
title | string | Current title filter (e.g. 'Director'). Comma-separate several (e.g. 'SDR,Account Executive'). |
linkedin_company_search LinkedIn Company Search
[Acquire · 5 credits] Search LinkedIn companies. Filter by keywords, industryId, or location. Costs 5 credits per page of 50. Each company comes back with its numeric LinkedIn `id`, which is what linkedin_people_search (`company`) and linkedin_job_search (`companyId`) take for an exact company match.
| Parameter | Type | Description |
|---|---|---|
industryId | string | LinkedIn industry ID (numeric, comma-separated for several). Not an industry name — IDs are LinkedIn's industry codes (V2), listed at https://learn.microsoft.com/en-us/linkedin/shared/references/ref… |
keywords | string | Free-text search (e.g. 'b2b saas analytics') |
location | string | Location filter (e.g. 'San Francisco Bay Area') |
page | integer | Results page, 50 companies per page (default 1). 5 credits per page not already cached. |
refresh | boolean | Bypass the cache and re-run the search live (costs 5 credits). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
linkedin_company_info LinkedIn Company Info
[Acquire · 1 credit] Fetch one LinkedIn company (numeric id, name, industry, size, location, website, description). Costs 1 credit per call. Use it to resolve a company to its numeric LinkedIn `id`, which linkedin_people_search (`company`) and linkedin_job_search (`companyId`) take for an exact company match. Look up by `linkedin_url` when you have it: a lookup by `name` returns the best match, which can be a different company with a similar name. The company is saved to `companies`.
| Parameter | Type | Description |
|---|---|---|
linkedin_url | string | LinkedIn company URL (e.g. https://www.linkedin.com/company/acme). Most reliable. |
name | string | Company name (e.g. 'Acme Analytics'). Returns the best match; check the returned name and URL. |
refresh | boolean | Bypass the cache and fetch a fresh copy from LinkedIn (costs 1 credit). Default false: a previously-fetched result is returned free, with how long ago it was retrieved. |
universal_name | string | The slug from the company URL (e.g. 'acme' for linkedin.com/company/acme). |
linkedin_post_reactions LinkedIn Post Reactions
[Acquire · 1 credit/page] Fetch the people who reacted to a single LinkedIn post. Costs 1 credit per page of up to 100 reactions, walking up to max_pages pages (default 10), so at most max_pages credits; cached pages are free. The output's fetched / total_available / truncated fields say when the post had more reactions than were fetched. Engagers (with reaction kind) are persisted to the post_engagements graph so subsequent queries about who-engages-with-whom are SQL, not API calls.
| Parameter | Type | Description |
|---|---|---|
post_url * | string | Public LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234) |
max_pages | integer | Max pages of up to 100 reactions to fetch (1-20, default 10). Each page costs 1 credit. |
refresh | boolean | Bypass the cache and re-fetch from LinkedIn (costs 1 credit per page). Default false: previously-fetched pages are returned free, with how long ago they were retrieved. |
linkedin_post_comments LinkedIn Post Comments
[Acquire · 1 credit/page] Fetch the people who commented on a single LinkedIn post (and their comment text), including replies to comments. Costs 1 credit per page of up to 100 comments, walking up to max_pages pages (default 10), so at most max_pages credits; cached pages are free. The output's fetched / total_available / truncated fields say when the post had more comments than were fetched. Each comment and reply is persisted to post_engagements with the commenter and full comment text.
| Parameter | Type | Description |
|---|---|---|
post_url * | string | Public LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234) |
max_pages | integer | Max pages of up to 100 comments to fetch (1-20, default 10). Each page costs 1 credit. |
refresh | boolean | Bypass the cache and re-fetch from LinkedIn (costs 1 credit per page). Default false: previously-fetched pages are returned free, with how long ago they were retrieved. |
find_similar_posts Find Similar Posts
[Read · free] Find persisted posts whose embeddings are nearest to a free-text query — pgvector cosine over the local post library, no LinkedIn pull, free. Use when you have a *block of text* (a draft, a paragraph, a competitor's post) and want similar posts you've already collected. For keyword search prefer `search_posts`; for fresh LinkedIn keyword pulls use `linkedin_post_search`. Pass `profile_id` to scope to a tracked profile, `collection_id` to scope to a collection, or neither to search the entire library.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text to find similar posts for |
collection_id | string | Optional post_collections.id (scopes search to this collection's members) |
limit | number | Max results to return (1-50, default 5) |
profile_id | string | Optional tracked profile ID from list_profiles (scopes search to this profile's posts) |
score_draft Score Draft
[Read · free] Predict how a draft post will perform against the user's historical data. Uses an OLS regression model with detrending, ridge regularization, and recency weighting — the same model used on the /score page. Returns a predicted engagement percentile, projected engagement range, factor breakdown, similar past posts, and improvement suggestions. Free. Pass `profile_id` to scope to a tracked profile, `collection_id` to scope to a collection, or neither to score against the user's full library.
| Parameter | Type | Description |
|---|---|---|
day_of_week * | number | Planned day of week (0=Sunday, 6=Saturday, UTC) |
hour * | number | Planned hour (0-23, UTC) |
text * | string | Draft post text |
collection_id | string | Optional post_collections.id (scopes the model to this collection) |
format | string | Post format: text, image, video, document, article, or poll |
profile_id | string | Optional tracked profile ID (scopes the model to this profile's posts) |
suggest_angles Suggest Angles
[Read · 5 credits] Given a topic, suggest distinct content angles informed by what performs well in the user's scoped data. Pulls top-performing historical posts as context and calls OpenAI to generate 5 concrete angles. Costs 5 credits per call. Pass `profile_id` to scope to a tracked profile, `collection_id` to scope to a collection, or neither to use the user's full library.
| Parameter | Type | Description |
|---|---|---|
topic * | string | Topic or theme to generate angles for (e.g. 'onboarding new hires', 'pricing strategy') |
collection_id | string | Optional post_collections.id (scopes to this collection's members) |
profile_id | string | Optional tracked profile ID (scopes to this profile's posts) |
list_segments List Audience Segments
[Read · free] List all audience segments for the authenticated user, with member counts. Audience segments are named groups of people (e.g. 'ICP — VPs of Marketing', 'Champions'). Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
type | string | Optional filter by segment type ('manual', 'smart', or 'auto_stream') |
create_segment Create Audience Segment
[Act · writes] Create a new audience segment (named group of people) for the authenticated user. Set type='manual' for a hand-curated list (use add_to_segment to populate it), type='smart' with a `config` predicate (e.g. {title_contains:['VP','Chief']}) to define a dynamic segment resolved on-demand by resolve_segment, or pass `template` to pre-fill `config` from a built-in template (type defaults to 'smart'). Smart segments only match people connected to you: people who engaged with posts you can see in Flux (your own profile, tracked/monitored profiles, and posts you collected) and people i…
| Parameter | Type | Description |
|---|---|---|
config | object | Predicate object for smart segments. Supported keys: title_contains, company_contains. Each takes a non-empty string or an array of 1-20 non-empty strings (case-insensitive substring match; an array m… |
description | string | Optional longer description |
name | string | User-facing segment name. Optional when `template` is supplied — the template's default name is used. |
source_stream_id | string | Optional stream that produced this segment (for traceability) |
template | string | Optional pre-built template id. Available: 'vp_plus' (VP+ decision-makers), 'c_suite' (C-suite executives), 'heads_of' ('Head of' leaders), 'founders' (Founders & co-founders), 'fintech_leaders' (Fint… |
type | string | Segment type. 'manual' = hand-curated person list. 'smart' = dynamic predicate (requires `config`). 'auto_stream' = system-managed from a stream. Defaults to 'smart' when `template` is provided. |
add_to_segment Add People to Audience Segment
[Act · writes] Add one or more people (by person_id) to a manual audience segment. Existing members are silently ignored. Smart segments are rejected: their membership is computed from `config` by resolve_segment. Unknown person_ids are rejected as a whole (nothing is added). Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
person_ids * | array | person_ids to add (1-1000 per call) |
segment_id * | string | Target segment id from list_segments |
remove_from_segment Remove People from Audience Segment
[Act · writes · destructive] Remove one or more people (by person_id) from a manual audience segment. Missing members are silently ignored. Smart segments are rejected: their membership is computed from `config` by resolve_segment. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
person_ids * | array | person_ids to remove (1-1000 per call) |
segment_id * | string | Target segment id from list_segments |
resolve_segment Resolve Audience Segment
[Read · free] Resolve an audience segment into a concrete list of person_ids. For manual / auto_stream segments, returns stored members. For smart segments, evaluates the segment's `config` predicate (title_contains / company_contains) and returns matches ordered by engagement with your posts. Smart segments only match people connected to you: people who engaged with posts you can see in Flux (your own profile, tracked/monitored profiles, and posts you collected) and people in your campaigns' constellations. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
segment_id * | string | Segment id (from list_segments / create_segment) |
limit | integer | Max person_ids to return (default 1000) |
list_segment_templates List Segment Templates
[Meta · free] List available smart-segment templates. Pass a template id to create_segment to pre-fill its `config` predicate without crafting one from scratch. Each template's description states exactly what its config matches; like every smart segment, it only matches people connected to you (engagers on your visible posts and people in your campaigns). Free — costs 0 credits.
get_alerts Get Stream Alerts
[Read · free] Return recent alerts for the authenticated user's streams. An alert is emitted whenever a scheduled stream run surfaces new items. Pass `unread_only=true` to skip alerts the user has already marked read. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max alerts to return (default 50) |
unread_only | boolean | Return only alerts that have not been marked read |
create_collection Create Post Collection
[Act · writes] Create a new post collection for the authenticated user. Set type='manual' to hand-curate posts with add_to_collection, or type='smart' with a `config` predicate (e.g. {format:'video',min_likes:50}) to define a dynamic collection resolved on-demand by resolve_collection. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
name * | string | User-facing collection name |
type * | string | 'manual' = hand-curated post list. 'smart' = dynamic predicate (requires `config`). |
config | object | Predicate for smart collections. Supported keys: format, min_likes, min_comments, date_after, date_before, topic_contains, author_profile_id, profile_ids (array — posts whose profile_id is in the se… |
description | string | Optional longer description |
add_to_collection Add Posts to Collection
[Act · writes] Pin one or more posts (by post_id) into a collection you own — works on any collection type. On a 'manual' collection this is the only membership mechanism; on a 'smart' collection it adds the posts as extras alongside whatever the rule already matches (resolve_collection returns the union). Existing members are silently ignored. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | Target collection id from list_collections |
post_ids * | array | post_ids to add (1-1000 per call) |
remove_from_collection Remove Posts from Collection
[Act · writes · destructive] Remove one or more posts (by post_id) from a collection. Missing members are silently ignored. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | Target collection id from list_collections |
post_ids * | array | post_ids to remove (1-1000 per call) |
list_collections List Post Collections
[Read · free] List all post collections for the authenticated user, with member counts. Includes manual collections, smart collections (predicate-based), and auto_stream collections (system-managed). Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
type | string | Optional filter by collection type |
resolve_collection Resolve Post Collection
[Read · free] Resolve a post collection into a concrete list of post_ids. For manual / auto_stream collections, returns stored members. For smart collections, evaluates the collection's `config` predicate against the user's posts and returns matches. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | Collection id (from list_collections / create_collection) |
limit | integer | Max post_ids to return (default 1000) |
create_campaign Create Campaign
[Act · writes] Create a Constellation outreach campaign. A campaign groups target accounts, the people you care about at those accounts, and the warm connections you could approach to reach them. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
name * | string | User-facing campaign name |
description | string | Optional longer description |
add_campaign_accounts Add Campaign Accounts
[Act · writes] Add one or more target companies to a Constellation campaign. Each account is a company you want to reach; map_constellation is then run per-account. Accounts already in the campaign (same linkedin_company_id, or same case-insensitive trimmed company_name) and repeats within the same call are not re-added; they are returned under `skipped`. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
accounts * | array | Array of companies to add (1-500 per call) |
campaign_id * | string | Target campaign id |
map_constellation Map Constellation
[Acquire · 1 + 3×targets credits] Map the professional graph around a target company. Finds senior decision-makers at the account, pulls each target's recent posts/reactions/comments to identify engagers, then scores every connection and produces a prioritized outreach queue. The response lists the selected `targets` (target_id, person_id, full_name, current_title, linkedin_url) and `_meta.next_step(s)`: get_outreach_queue for the scored queue, then get_outreach_path (free) to check warm paths to the top targets. Pools: coworker = other senior people at the same account from the lead search…
| Parameter | Type | Description |
|---|---|---|
campaign_account_id * | string | campaign_accounts.id — the company to map |
max_targets | integer | Max targets to deep-map per account (1-20, default 5). Each target adds up to 3 credits. |
title_keywords | array | Title keywords to filter targets. Default: ['VP','Director','Head of','Chief'] |
score_connections Score Connections
[Act · writes] Re-score all constellation entries in a campaign and rewrite queue positions from highest to lowest composite score. Use after new engagers or targets are added. Free — costs 0 credits. Note: this tool requires a `campaign_id` because it writes back to the `constellation_entries` table. Segment- and url-list-scoped scoring is not yet supported — use `get_outreach_queue({segment_id})` or `get_outreach_queue({linkedin_urls})` for engagement-count ordering on those scopes; full composite scoring will land alongside the unified person-positions schema in a later phase.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id to re-score |
get_outreach_queue Get Outreach Queue
[Read · free] Return a prioritized outreach queue. Provide *exactly one* of three scopes: • `campaign_id` — full Constellation queue, one row per person (their best entry's composite_score, pool, recommended_action), with `targets[]` listing every target they connect to ({target_id, entry_id, composite_score, pool, recommended_action, target_person: {person_id, full_name, current_title}}) and prior outreach_log entries. Pools: coworker = same company as the target (no relationship implied), engager = someone the target engages with, mutual = someone several targets engage with. Pass a tar…
| Parameter | Type | Description |
|---|---|---|
campaign_id | string | Campaign id (full Constellation scoring) |
limit | integer | Max entries to return (1-200, default 50) |
linkedin_urls | array | Ad-hoc LinkedIn URL list (engagement-count scoring); max 200 |
pool | string | Optional filter: only return entries in this pool. Only meaningful for `campaign_id` scope; ignored for segment / urls. |
segment_id | string | Audience segment id (engagement-count scoring) |
get_engagement_brief Get Engagement Brief
[Read · free] For one person, return their recent posts most relevant to what you post about — plus suggested talking points. Use before a warm comment or DM. Free — costs 0 credits. Identify the person via *exactly one* of: `target_id` (a Constellation target — original input), `person_id` (a row in `people`), or `linkedin_url` (any form). The non-campaign forms work even when no Constellation campaign exists.
| Parameter | Type | Description |
|---|---|---|
linkedin_url | string | LinkedIn profile URL (vanity or encoded form) — auto-resolved to a people row |
person_id | string | people.id — when you already have the canonical person row |
target_id | string | Constellation targets.id — for the original campaign-scoped flow |
log_outcome Log Outcome
[Act · writes] Record an outcome by hand. Two kinds. • Outbound (campaign outreach): action sent_request | accepted | replied | no_response with campaign_id and exactly one of person_id or linkedin_url (any profile URL form). The person must be connected to you (in one of your campaigns or segments, engaged with posts you can see in Flux, or pulled by you); anyone else returns not-found with a next_step to pull their profile via linkedin_profile_info. A person outside this campaign's mapped constellation is still logged (with a `warning`) and get_campaign_stats counts it under `unattributed…
| Parameter | Type | Description |
|---|---|---|
action * | string | Outbound: sent_request | accepted | replied | no_response. Inbound: inbound_dm | lead | client |
campaign_id | string | Outbound only, required there: campaign id |
linkedin_url | string | LinkedIn profile URL of the person. Outbound: provide this or person_id. Inbound: optional (the sender) |
message_text | string | Inbound: the DM or message text; paste the whole conversation if you have it |
note | string | Optional free-text note |
occurred_at | string | Inbound: when it happened, ISO 8601 (for a pasted DM, the first message's date). Defaults to now |
outcome_id | string | Inbound correction: the id of an inbound outcome you logged, with post_url |
person_id | string | people.id of the person. Outbound: provide this or linkedin_url. Inbound: optional |
post_url | string | Inbound: URL of your post that prompted it, when the user knows. With outcome_id, corrects an earlier inbound outcome |
profile_id | string | Inbound only, required there: your tracked profile id from list_profiles |
get_campaign_stats Get Campaign Stats
[Read · free] Summary stats for a Constellation campaign: target count, entry count, outreach volume, and acceptance / reply rates broken down by pool (coworker / engager / mutual) and composite-score tier. Outcomes logged for people who are not campaign entries are counted under an `unattributed` bucket in both by_pool and by_tier, so breakdowns always sum to the totals. Free — costs 0 credits.
| Parameter | Type | Description |
|---|---|---|
campaign_id * | string | Campaign id |
get_inbound_attribution Get Inbound Attribution
[Read · free] Which of your posts bring in DMs, leads and clients, next to which get engagement. Reads the inbound outcomes logged with log_outcome (inbound_dm | lead | client) for one of your tracked profiles over the last `days` (default 90). Returns totals, top_by_outcomes (posts credited with at least one outcome), top_by_engagement (your most-engaged posts in the window, with their outcome counts, so the two rankings can be compared), by_format, and the unattributed outcomes still waiting for a post (fix with log_outcome outcome_id + post_url). Engagement is not used to attribute: outcom…
| Parameter | Type | Description |
|---|---|---|
profile_id * | string | Your tracked profile id from list_profiles |
days | integer | Look-back window in days (default 90) |
save_post Save LinkedIn Post
[Acquire · 1 credit · writes] Save a LinkedIn post to your library by its URL. Resolves the post and stores it with source_type='saved'. Optionally pins the post into any collection you own (manual or smart — pinning into a smart collection adds it as an extra alongside the rule's matches). Costs 1 credit per call. Failed lookups don't charge.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public LinkedIn post URL. Accepts linkedin.com/posts/... permalinks and linkedin.com/feed/update/urn:li:activity:... feed URLs. |
collection_id | string | Optional collection UUID to pin the post into. Must be a collection you own — any type. |
get_post_engagers_by_company Engagers Grouped by Company
[Read · free] Given a LinkedIn post URL or id, return the companies whose people engaged (reacted/commented), ranked by engager count. Joins through person_positions(is_current=true). Pure DB read — no LinkedIn pull, no credits charged. Engagers without a known current company are bucketed as `_unknown_company`. Optional industry_urn filter narrows to one industry.
| Parameter | Type | Description |
|---|---|---|
industry_urn | string | Optional urn:li:fsd_industry:<id> filter (from companies.industry_urn) |
limit | integer | Max companies to return (1-100, default 20) |
post_id | string | posts.id UUID (use when you already know the local id) |
post_url | string | Public LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234) |
top_engagers_per_company | integer | How many sample engager names to attach per company row (0-10, default 3) |
get_engagement_industry_breakdown Engagement Industry Breakdown
[Read · free] Histogram of engagers' companies grouped by industry. Pivots on companies.industry_hierarchy (e.g. 'Tech > Software Development'). Depth=1 buckets by top-level, =2 by top+mid, =3 by full hierarchy. Engagers with no current company / no industry hierarchy bucket as `_unknown`. Pure DB read — no LinkedIn pull, no credits charged. Needs engagers synced first: if the post(s) have no recorded engagements, run `get_post_set_engagers` (1 credit per page, works on a collection or profile) as the usual first step; `linkedin_post_reactions` / `linkedin_post_comments` (1 credit per page…
| Parameter | Type | Description |
|---|---|---|
depth | integer | 1=top-level industry, 2=mid, 3=leaf (full hierarchy) |
post_id | string | posts.id UUID |
post_url | string | Public LinkedIn post URL |
sample_companies_per_bucket | integer | How many sample company names to attach per industry row (0-10, default 3) |
get_alumni_engagers Alumni / Coworker Engagers for a Company
[Read · free] Given a company (company_url, LinkedIn's numeric linkedin_company_id as linkedin_company_info returns it, an exact company_name, or a companies.id UUID), return engagers (across your collected posts) who have a position at that company. Relation filter: 'coworker' = current employees, 'alumni' = any past or current position (most useful for page_type='SCHOOL' companies), 'any' = both. Matches need job history on file, and engagers collected from reactions/comments usually have none: `coverage` counts candidates (engagers whose headline or current company names the company) with…
| Parameter | Type | Description |
|---|---|---|
company_id | string | companies.id UUID |
company_name | string | Exact company name, case-insensitive. Several matches return candidates. |
company_url | string | Public LinkedIn company URL |
limit | integer | Max engagers to return (1-100, default 20) |
linkedin_company_id | string | number | LinkedIn's numeric company id (the `id` linkedin_company_info returns) |
relation | string | coworker = current employees only; alumni = any position (past or current); any = both |
get_engager_position_history Engager Position History
[Read · free] Return a person's full employment timeline from the position graph. Only for people connected to you: they engaged with posts you can see in Flux, are in one of your campaigns or segments, or you pulled them (an engagement pull, or their profile via linkedin_profile_info / linkedin_profile_posts). Anyone else returns not-found with a next_step to pull their profile via linkedin_profile_info. Sorted current-first, then most-recent past by started_at desc. Pure DB read — no LinkedIn pull, no credits charged.
| Parameter | Type | Description |
|---|---|---|
linkedin_url | string | Person's LinkedIn profile URL |
person_id | string | people.id UUID |
get_target_warmth_brief Target Warmth Brief
[Read · free] For a target person, summarize all engagement evidence between them and your collected posts: posts they reacted to, posts they commented on, frequency, recency, reaction kinds, comment text snippets. Computes a v0 warmth score from engagement count, comment signal, and recency. Pure DB read — no LinkedIn pull, no credits charged.
| Parameter | Type | Description |
|---|---|---|
days_back | integer | How far back to look at engagements (default 90) |
linkedin_url | string | Target's LinkedIn profile URL |
person_id | string | people.id UUID |
traverse_graph_help Engagement Graph Schema + Examples (for traverse_graph)
[Meta · free] Returns the schema, FK edges, and 5 canonical SQL examples needed to write your own SELECT against the engagement graph via traverse_graph. Also returns YOUR resolvable identities (caller_user_ids, caller_tracked_lp_ids) — substitute these into example SQL when you write your query. Pure DB read — 0 credits. Free.
traverse_graph Execute a SELECT against the Engagement Graph
[Read · free] Executes a TS-validated SELECT-only SQL query against the engagement graph and returns rows. Needs the schema and the caller_user_ids / caller_tracked_lp_ids that traverse_graph_help returns (it also has canonical examples). Required: SQL must start with SELECT or WITH, contain no DML/DDL keywords, and reference one of your caller_user_ids or caller_tracked_lp_ids verbatim. Cap: 1000 rows, 5s statement timeout. Pure DB read — 0 credits.
| Parameter | Type | Description |
|---|---|---|
sql * | string | The SELECT/WITH SQL to execute |
get_company_engagement_overlap Company Engagement Overlap
[Read · free] Given two companies, return the people who engaged (reacted or commented) with posts published by BOTH companies' own LinkedIn pages, counting only company-page posts and engagers already collected in your library. Use it to find people interested in two target accounts at once. It does NOT compare which employees of each company engage with you (for that, use get_post_engagers_by_company). It needs data collected first: each company's page posts (a company stream, or linkedin_company_posts) and their engagers (get_post_set_engagers on those posts, or linkedin_post_reactions / l…
| Parameter | Type | Description |
|---|---|---|
company_a_id | string | Company A — companies.id UUID |
company_a_linkedin_id | string | number | Company A — LinkedIn's numeric company id (from linkedin_company_info) |
company_a_name | string | Company A — exact company name, case-insensitive |
company_a_url | string | Company A — LinkedIn URL |
company_b_id | string | Company B — companies.id UUID |
company_b_linkedin_id | string | number | Company B — LinkedIn's numeric company id (from linkedin_company_info) |
company_b_name | string | Company B — exact company name, case-insensitive |
company_b_url | string | Company B — LinkedIn URL |
limit | integer | Max overlapping engagers to return (1-100, default 20) |
get_outreach_path Outreach Path to Target
[Read · free] Given a target person, find the shortest warm-intro path through your engager network. Walks coworker (shared current company) + alumni (shared past company / school) edges. Up to 3 hops. Paths only exist where job history is on file, and engagers collected from reactions/comments usually have none: the response's `coverage` says how many candidates (the target, and engagers tied to the target's companies) have job history, and when missing data may hide paths `_meta.next_step` names enrich_people with the exact person_ids to pass and its credit cost. Pure DB read — no LinkedI…
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max paths to return (default 10) |
max_hops | integer | Max path length (1=direct, 2=one intermediate, 3=two intermediates). Default 2. |
target_linkedin_url | string | Target — LinkedIn URL |
target_person_id | string | Target — people.id UUID |
get_post_set_engagers Get Post-Set Engagers
[Acquire · 1 credit/page + 3/person enriched] Pull from LinkedIn (costs credits) and return the consolidated, deduped people who reacted to or commented on a SET of posts — one tracked profile's posts (profile_id), a post collection (collection_id), or an explicit list of up to 50 posts (post_ids and/or post_urls, e.g. the post_ids linkedin_post_search returns; a URL not yet in Flux is stubbed for free, no save_post needed). Fetches only posts not synced within freshness_days, walks up to max_pages_per_post pages (100 people/page) of reactions and of comments per post, includes comment repl…
| Parameter | Type | Description |
|---|---|---|
collection_id | string | post_collections.id — engagers across this collection's posts |
force | boolean | Re-sync posts even if within the freshness window |
freshness_days | integer | Skip posts whose engagers were synced within this many days |
max_enrich | integer | Max never-seen engagers to enrich via /linkedin/profile (0-100, default 0) |
max_pages_per_post | integer | Max pages (100 people each) to walk per endpoint per post (1-20, default 10). Each page costs 1 credit. |
max_posts | integer | Max posts to sync this call (1-100). Default 25; with post_ids/post_urls the default is the list length. |
post_ids | array | posts.id values (e.g. from linkedin_post_search results) — engagers across exactly these posts. Combine with post_urls; 50 total max. Each must be a post you can read. |
post_urls | array | LinkedIn post URLs — engagers across exactly these posts. URLs not yet in Flux get a stub row (no extra credit). Combine with post_ids; 50 total max. |
profile_id | string | Tracked profile id — engagers across this profile's stored posts |
enrich_people Enrich People (job history)
[Acquire · 3 credits/person enriched] Look up full LinkedIn profiles for up to 100 people and store their current title, company, headline and job history (every position). Job history is what get_outreach_path (coworker / alumni paths) and get_alumni_engagers search, and engagers collected from reactions/comments have none until enriched — when those tools report missing coverage they return a _meta.next_step with the exact person_ids to pass here. Pass person_ids (people.id from any engager / path tool) and/or linkedin_urls. Costs 3 credits per person successfully enriched. People you alr…
| Parameter | Type | Description |
|---|---|---|
linkedin_urls | array | LinkedIn profile URLs to enrich; people not yet in the graph are added |
max_credits | integer | Spend cap. At most floor(max_credits / 3) people are looked up; the rest come back skipped_budget. |
person_ids | array | people.id UUIDs to enrich (1-100) |
refresh | boolean | Re-enrich people enriched within the last 90 days (bypasses the cache) |
resolve_people Resolve People
[Read · free] Resolve up to 200 LinkedIn profile URLs and/or person_ids to people in your Flux graph, free. Each result has person_id, the stored LinkedIn URL, matched_via (exact / canonical / member_id / public_identifier / none), name, current title and company, and coverage: has_positions (job history on file), enriched_at, engaged_with_you (engagements on your posts), in_campaigns (how many of your campaigns include them) and connected_via (engaged / campaign / segment / pulled). Only people connected to you resolve: someone who engaged with posts you can see, is in your campaigns or segm…
| Parameter | Type | Description |
|---|---|---|
linkedin_urls | array | LinkedIn profile URLs, any form (vanity, /in/ACo…, trailing slash, utm params). 1-200. |
person_ids | array | people.id UUIDs. 1-200. |
resolve_company Resolve Company
[Read · free] Look up a company saved in Flux by exactly one of name (case-insensitive exact match), linkedin_url, linkedin_company_id (LinkedIn's numeric id) or company_id, free. Returns company_id, linkedin_company_id, name, linkedin_url, page_type and coverage for you: connected_people_current (people connected to you, meaning they engaged with posts you can see, are in your campaigns or segments, or you pulled or enriched them, who hold a current position there) and engagers_current (those of them who engaged with your posts, with their engagement total). A name shared by several saved co…
| Parameter | Type | Description |
|---|---|---|
company_id | string | companies.id UUID |
linkedin_company_id | string | number | LinkedIn's numeric company id, as linkedin_company_info returns it |
linkedin_url | string | Company LinkedIn URL (linkedin.com/company/…) |
name | string | Company name, exact and case-insensitive |