Engagement / MCP

Save comment draft

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

tools/callDeterministic 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
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save-comment-draft",
    "arguments": {
      "trackedPostId": "00000000-0000-4000-8000-000000000000",
      "linkedinAccountId": "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 inCLI REST API TypeScript SDK
Tool directory | Pipeline v2 preview