Search posts
search_postsSearch LinkedIn posts by keyword and/or filters. Returns 10 posts a page with author, text, media and engagement counts.
Costs 10 credits per page that has posts; a page with no posts is free.
Ask for page 1 first and only page further (while data.has_more is
true) if the user needs more.
keyword: quoted phrases, AND / OR / NOT and parentheses, at most 5 boolean operators (more is rejected for free; split the search).date_posted+sort_by="date_posted"is the shape for "what was posted about X recently".People are LinkedIn profile ids (
ACoAAA...) or profile URLs that contain one; companies are numeric LinkedIn company ids. Use get_person_profile / get_company_profile to look an id up.from_member/from_company: posts they published.mentions_member/mentions_organization: posts that tag them; no keyword needed.author_company: posts by people who currently work at the company (not the company page's own posts - that isfrom_company).author_industry: LinkedIn industry ids.author_title: free text matched against the author's current title.
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": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| keyword | No | ||
| sort_by | No | ||
| date_posted | No | ||
| from_member | No | ||
| author_title | No | ||
| content_type | No | ||
| from_company | No | ||
| author_company | No | ||
| author_industry | No | ||
| mentions_member | No | ||
| mentions_organization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||