Engagement / CLI

Save comment draft

Save a caller-authored comment as a reviewable draft for a tracked post. It never posts to LinkedIn.

pipeline save-comment-draftDeterministic operation

Parameters

workspaceIdOptional · string
Optional with API key auth, inferred from the key.
trackedPostIdRequired · string
See the input schema for this field.
linkedinAccountIdRequired · string
See the input schema for this field.
commentRequired · string
See the input schema for this field.
alternativesOptional · array
See the input schema for this field.
confidenceScoreOptional · number
See the input schema for this field.
reasoningOptional · string
See the input schema for this field.
Request example
pipeline save-comment-draft \
  --tracked-post-id "00000000-0000-4000-8000-000000000000" \
  --linkedin-account-id "00000000-0000-4000-8000-000000000000" \
  --comment "example"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional with API key auth, inferred from the key."
    },
    "trackedPostId": {
      "type": "string"
    },
    "linkedinAccountId": {
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "alternatives": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "confidenceScore": {
      "type": "number"
    },
    "reasoning": {
      "type": "string"
    }
  },
  "required": [
    "trackedPostId",
    "linkedinAccountId",
    "comment"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview