> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecorn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tools

> Every tool the Pipecorn MCP server exposes, grouped by what it acts on.

Tools trigger actions on behalf of the user based on the goals and information
already in the assistant's context. The server exposes 44 tools. Each one
maps to a REST endpoint and spends the same credits or plan limits; see
[Credits vs limits](https://docs.pipecorn.com/api-reference/credits-vs-limits.md).

> [!TIP]
>
> The `preview_*` tools are free and synchronous. Ask the assistant to preview
> a search before running the full extraction, and to call `get_credits`
> before bulk enrichment.

## Companies

| Tool | Description |
| - | - |
| `enrich_account` | Enrich a company with firmographic data |
| `search_accounts` | Search companies by filters and import them. On the Pipecorn database (the default) it takes the same filters as the app's company search: industry, location, size or exact headcount, revenue, keyword, company type, business model, founding year, funding, headcount growth, department headcount, website traffic, saved company lists, competitors, and job titles the company employs (or doesn't). With `live: true` it runs on LinkedIn Sales Navigator and takes only industry, location, size, revenue and keyword |
| `preview_search_accounts` | Preview an account search: the estimated result count, which sets the company-import quota it would use, and up to 25 samples. Free |
| `find_lookalike_companies` | Find companies similar to one or more reference companies |
| `get_company_stack` | Get the technology stack of a company |
| `get_company_hiring` | Get active job openings for a company |
| `get_headcount` | Get department headcount evolution (3-month, 6-month, 12-month) for a company |
| `preview_search_accounts_by_stack` | Preview the companies that use a set of technologies: the exact count and up to 25 samples. Free |
| `search_accounts_by_stack` | Import the companies that use a set of technologies. Returns a job id for `get_job_result` |

## Leads

| Tool | Description |
| - | - |
| `enrich_lead` | Enrich one person with profile and firmographic data, by LinkedIn URL (public `/in/` or Sales Navigator `/sales/lead/`) or by first name + last name + company. 1 credit per person found; no email or phone, use `single_enrich_contact` for those |
| `search_leads` | Extract leads from a LinkedIn Sales Navigator URL |
| `search_leads_in_company` | Search for leads at a specific company |
| `advanced_search_leads` | Search for leads using advanced filters (job titles, locations, seniority, company size, industries, signals…) |
| `preview_advanced_search_leads` | Preview an advanced lead search: the estimated result count, which sets the profile-extraction quota it would use, and up to 25 samples. Free |
| `get_searches` | Retrieve all lead searches |
| `get_search` | Get the status and results of a lead search |
| `update_lead_status` | Mark leads of a search as qualified or disqualified by the lead IDs `get_search` returns, with an optional rejection reason |
| `delete_search` | Permanently delete a finished lead search; its leads stay in the account |

## Contacts

| Tool | Description |
| - | - |
| `single_enrich_contact` | Enrich a single contact with email and/or phone. Returns an `enrichment_id` and a `status`: `finished` carries the results, `pending` means polling `get_contact_enrichment` with that id until it is `finished` |
| `bulk_enrich_contacts` | Enrich 2 to 5000 contacts in one job. Takes a single `enrichment_type` per call, `email` or `phone`: run it twice to get both. Returns a job id for `get_job_result` |
| `get_contact_enrichment` | Get the enrichment result for a contact by its enrichment ID |
| `report_wrong_phone` | Report that a phone number Pipecorn returned is wrong (`wrong_person` or `disconnected`) and search for another one, skipping the providers that gave it. The new search costs 30 credits, only when it finds a number; poll `get_contact_enrichment` for the result |
| `report_wrong_email` | Report that an email address Pipecorn returned is wrong (`invalid_address`, `wrong_domain` or `wrong_person`) and search for another one of the same type, work or personal, skipping the providers that gave it. The new search costs 3 credits for a work email or 9 for a personal email, only when it finds an address; poll `get_contact_enrichment` for the result |

## Lists

| Tool | Description |
| - | - |
| `create_list` | Create a new company list and push companies into it on LinkedIn Sales Navigator |
| `get_lists` | Retrieve all Sales Navigator lists |
| `get_list` | Retrieve a single list by its ID |
| `update_list` | Add companies to an existing Sales Navigator list |

## Personas

| Tool | Description |
| - | - |
| `list_personas` | Retrieve all personas defined in the Pipecorn account |
| `get_persona` | Retrieve a single persona by its UUID |
| `create_persona` | Create a new persona |
| `update_persona` | Update an existing persona by its UUID |
| `delete_persona` | Delete a persona by its UUID |

## Signals

| Tool | Description |
| - | - |
| `extract_posts` | Extract recent posts from a LinkedIn profile or company page |
| `extract_reactions` | Extract posts that a LinkedIn member has reacted to |
| `extract_comments` | Extract comments made by a LinkedIn member |
| `extract_post_engagers` | Extract people who reacted or commented on a LinkedIn post |
| `find_connections` | Find which of your 1st-degree connections can introduce you to a LinkedIn profile, with the reason, the companies they shared and a relationship strength, strongest first |
| `find_warm_intros` | Find people connected to one of your 1st-degree connections who worked at one of their past companies — the colleagues most likely to introduce you, strongest relationship first |
| `find_account_warm_intros` | Find the decision makers of a company and who in your network can introduce you to each of them. Returns a job id for `get_job_result` |

## Jobs

| Tool | Description |
| - | - |
| `get_job_result` | Wait for the result of an async job. It waits up to about two minutes and answers `timed_out` if the job is still running; call it again after 5s |

## Utilities

| Tool | Description |
| - | - |
| `search_locations` | Resolve a location name to location IDs. `source` picks the catalog: `database` (default, for searches on the Pipecorn database), `live` (LinkedIn Sales Navigator, for searches with `live: true`), or `hiring`. IDs from one source do not work with another: a mismatch returns zero results without an error |
| `search_industries` | Search for LinkedIn industry IDs by name — call this before `advanced_search_leads` when the user mentions an industry |
| `search_technologies` | Resolve a technology name to the slug the tech-stack tools expect. Free |
| `get_credits` | Get remaining Pipecorn credits |
| `get_account_status` | Get the account's email, plan, and whether its LinkedIn and Sales Navigator sessions are valid |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.