Get Nested Comments
linkedin_get_nested_commentsGet nested comments (replies) under a specific comment on a LinkedIn post. Chain this after linkedin_get_post_comments: pick a comment where replyCount > 0 and pass its commentId here to fetch the replies. Requires a connected LinkedIn account.
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": {
"activityUrn": "<activityUrn>",
"parentCommentId": "<parentCommentId>"
},
"name": "linkedin_get_nested_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Continuation cursor from a previous call. Pass this to fetch the next batch of nested comments. | |
| activityUrn | Yes | The post's activity URN (e.g. "urn:li:activity:7404116397871607808") or a LinkedIn post URL. Obtain from linkedin_get_post_comments or linkedin_get_person_posts output. | |
| parentCommentId | Yes | commentId of the parent comment whose replies you want to fetch. Use a commentId from linkedin_get_post_comments output where replyCount > 0. |