LinkedIn Post Comments
linkedin_post_comments[Acquire · 1 credit/page] Fetch the people who commented on a single LinkedIn post (and their comment text), including replies to comments. Costs 1 credit per page of up to 100 comments, walking up to max_pages pages (default 10), so at most max_pages credits; cached pages are free. The output's fetched / total_available / truncated fields say when the post had more comments than were fetched. Each comment and reply is persisted to post_engagements with the commenter and full comment text.
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": {
"post_url": "<post_url>"
},
"name": "linkedin_post_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass the cache and re-fetch from LinkedIn (costs 1 credit per page). Default false: previously-fetched pages are returned free, with how long ago they were retrieved. | |
| post_url | Yes | Public LinkedIn post URL (e.g. https://www.linkedin.com/feed/update/urn:li:activity:1234) | |
| max_pages | No | Max pages of up to 100 comments to fetch (1-20, default 10). Each page costs 1 credit. |