icp_fit
The DECIDE step — "who here is my ideal customer?". Judges people's name + headline against the account's one-line ICP (Settings → Ideal Customer) and labels each fit / adjacent / not with a 0-100 position and a confidence — the same judge the Leads page and the automation follow-up gate use. Two modes. (1) post_id (Apex): pass a post_id from list_person_posts / list_recent_posts and the server pulls everyone who commented or reacted, dedupes them and judges them all in ONE call — use this for "pull X's latest post, who engaged, and who is my ICP?" instead of calling list_post_engagers and echoing headlines back. Each person comes back with name, headline, network_distance, signals[] (how they engaged; comment signals carry the full comment text plus comment_id) and an id you can act with. (2) people[] (Pro+): judge up to 100 people you already have as { id, name, headline } (from search, list_signals, enrich); ids are echoed back untouched. Stateless, read-only. If the account has no ICP line you get code no_icp: ask the user for one sentence and pass it as icp, or point them to /dashboard/icp-settings to save it. Present people by name + headline, never by id. Act on fits via get_lead_activity → send_connection_request / send_message (writes — confirm first).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "icp_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icp | No | Optional one-line ICP to judge against instead of the saved one (≤ 280 chars). Use when the account has none, or to test a wording. | |
| act_as | No | APEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own. | |
| people | No | People to judge (1-100) when you are not starting from a post. Use the provider id / member_urn / slug as id so you can act on the result. | |
| post_id | No | A post URN (urn:li:activity:…), bare id, or post URL. Judges everyone who commented or reacted. Apex. |