LinkedIn: comment on post
linkedin_create_commentTemporary independent daily limits may apply; the default budgets are: Free/Starter 5 comment attempts and 5 reaction attempts; Personal paid/full-access 20 each, shared across connections/API/MCP and automatic first comments, resetting at 00:00 UTC. Authorized Agency/Company, managed users and eligible Corporate-sponsored users are exempt from these Publora daily budgets; provider and burst limits still apply. The backend response is authoritative; do not self-throttle using these defaults. Attempts sent count even on failure. LINKEDIN_DAILY_LIMIT_REACHED means this request was not sent; wait until retryAt before retrying, never loop immediately. Post a comment on a LinkedIn post, optionally with one image or animated GIF. LINKEDIN_COMMENTS_RESTRICTED is terminal for this target: do not retry or guess another URN; explain the restriction or choose another post if authorized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Required comment text string (max 1250 characters). May be empty only when imageUrl is provided; use an empty string for an image-only comment. Supports mentions: @{urn:li:person:Dk968RHxiO|John Smith} or @{urn:li:organization:12345678|Company Name}. Person IDs must be raw native app-scoped member IDs returned by Publora. If starting from list_connections platformId such as linkedin-Dk968RHxiO, remove the leading linkedin- before building the person URN; IDs copied from linkedin.com profile URLs are rejected. | |
| imageUrl | No | Public https URL of one image to attach to the comment. JPEG, PNG and GIF only (animated GIFs work — LinkedIn allows up to 250 frames); max 10MB and fewer than 36,152,320 pixels. Video and documents cannot be attached to LinkedIn comments. LinkedIn validates media AFTER accepting it, so an image breaching those limits still returns success but does not render — it cannot be detected here. | |
| postedId | Yes | LinkedIn post URN: urn:li:activity:<id>, urn:li:share:<id> or urn:li:ugcPost:<id>. From a LinkedIn post URL, preserve its exact activity ID as urn:li:activity:<id>; URLs are not accepted in this field. Never guess a share/ugcPost ID by replacing the activity prefix. Publora handles supported target translations. | |
| platformId | Yes | Platform connection ID, e.g. 'linkedin-XxxYyy' | |
| parentComment | No | Parent comment URN for nested replies |