comment_on_post
Publish a public comment on a LinkedIn post as the authenticated user. Provide the post URL or URN and your text, with user confirmation first since comments are visible to others.
Instructions
Comment on a LinkedIn post as the authenticated user. post is a post URN
(urn:li:share/ugcPost/activity:…) or a linkedin.com post URL. Confirm wording
with the user first — comments are public.
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": "<post>",
"text": "<text>"
},
"name": "comment_on_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| target_urn | Yes | ||
| comment_urn | No |