search_posts
Apex only. Find LinkedIn posts matching a keyword — by anyone. Unlike search (people/companies), list_person_posts (one profile), feed (who you follow), or discover_lead_magnets (curated lead-magnet radar), this searches posts across LinkedIn. Each result includes post_id (pass straight to comment_on_post / react_to_post / list_post_engagers), share_url, text, engagement counts, and author. Defaults to posts from the past month sorted by relevance. 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": {
"keywords": "<keywords>"
},
"name": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (1-50, default 25). | |
| 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 search_posts call). | |
| sort_by | No | Sort order (default: relevance). | |
| keywords | Yes | What to search for in posts, e.g. LeadShark or hiring SDR. Required. | |
| date_posted | No | Recency filter (default: past_month). Pass "all" (or null) for no date filter. |