list_recent_posts
Fetch your latest LinkedIn posts with engagement stats (impressions / views, comments, reactions, reposts). Each post includes the complete post body (full_text), a short text_preview, an edited flag, and whether an automation already exists for it. Pass organization_id (from list_companies) to read a Company Page's posts instead — company posts carry has_reply_automation (the reply-only automation) rather than has_automation. LinkedIn does not expose impressions for Company Page posts, so engagement.impressions is 0 on that scope.
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": "list_recent_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of posts to fetch (1-20, default: 5) | |
| 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. | |
| organization_id | No | Optional. Numeric id of a Company Page you administer (from list_companies) — lists that page's posts instead of your personal posts. |