list_person_posts
Apex only. Pull recent posts from a LinkedIn person so you have something concrete to act on — this closes the loop: search (find them) → enrich (decide) → list_person_posts → comment_on_post / react_to_post (act). Pass the id or public_identifier from search or enrich (a provider id like "ACoAAB1cV…", a vanity slug, or a profile URL). Each post comes back with a post_id (urn:li:activity:…) that drops straight into comment_on_post / react_to_post, plus text, share_url, posted_at, and engagement metrics. Reads through your own connected session; paginate with next_cursor.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile": "<profile>"
},
"name": "list_person_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max posts to return (1-100, default 10). | |
| 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. | |
| cursor | No | Pagination token (next_cursor from a previous call) to fetch the next page. | |
| profile | Yes | Whose posts to fetch: a LinkedIn provider id (e.g. "ACoAAB1cV…"), a vanity slug (e.g. "jane-doe"), or a full profile URL. Use the id or public_identifier returned by search / enrich. |