Built-in tool
Comment on Post
Post a comment on someone else's LinkedIn post.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| senderUrllinkedin-sender · required | linkedin-sender | required | LinkedIn account to send from. Select a connected LinkedIn account. Example: |
| postSelectionstring · required | string | required | A post link, or the latest post of a LinkedIn profile. One of: Default: |
| postUrlstring · required if postSelection is post_url | string | required if postSelection is post_url | LinkedIn post URL (e.g. https://www.linkedin.com/posts/...). Supports template variables. Example: |
| targetProfileUrlstring · required if postSelection is last_post | string | required if postSelection is last_post | LinkedIn profile whose latest post to use. Supports template variables. Example: |
| maxPostAgestring · optional | string | optional | Skip the latest post when it is older than this. Used only when postSelection is last_post. One of: Default: |
| commentModestring · required | string | required | Write the comment yourself or let AI generate it. One of: Default: |
| textstring · optional | string | optional | Comment text. Supports template variables, including the post author's LinkedIn profile fields ({{first_name}}, {{company_name}}, …). Use @{{post_owner}} to mention the post author. Used only when commentMode is manual. |
| promptstring · optional | string | optional | Prompt template. Use {{post_content}}, {{post_comments}}, {{post_owner}} and the post author's LinkedIn profile fields ({{first_name}}, {{headline}}, {{company_name}}, …). Used only when commentMode is ai_personalized. |
| doNotCommentstring · optional | string | optional | Topics whose posts the AI skips. Leave empty to comment on any topic. Used only when commentMode is ai_personalized. Default: |
| rateLimitConfigobject · optional | object | optional | Rate Limit Config configuration. Refer to the tool documentation for expected format. Default: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status"
],
"properties": {
"data": {},
"note": {
"type": "string"
},
"text": {
"type": "string"
},
"status": {
"enum": [
"commented",
"skipped"
],
"type": "string"
},
"postUrl": {
"type": "string"
},
"skipReason": {
"type": "string"
},
"postOwnerName": {
"type": "string"
},
"postOwnerIdentifier": {
"type": "string"
}
},
"additionalProperties": false
}