mcpDeterministic
Save comment draft
tools/call
Save a caller-authored comment as a reviewable draft for a tracked post. It never posts to LinkedIn.
Parameters
workspaceId
string
Optional with API key auth, inferred from the key.
trackedPostIdrequired
string
No description.
linkedinAccountIdrequired
string
No description.
commentrequired
string
No description.
alternatives
string[]
No description.
confidenceScore
number
No description.
reasoning
string
No description.
Example
MCP tools/calljson
{"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"}}}
Response
Success response schemajson schema
{"type": "object","properties": {"draft": {"type": "object","properties": {"id": {"type": "string"},"workspace_id": {"type": "string"},"tracked_post_id": {"type": "string"},"approval_status": {"type": "string","enum": ["pending","approved","rejected","edited","sent","expired"]}},"required": ["id","workspace_id","tracked_post_id","approval_status"]}},"required": ["draft"]}
JSON-RPC errors
- -32602
- Invalid parameters. Field-level details are returned in the JSON-RPC error data.
- -32001
- Authentication or hosted AI consent is required.
- -32003
- Workspace access is denied.
- -32029
- The request was rate limited.