Agents / MCP

Publish sop draft

Publish the exact reviewed SOP draft after explicit user approval. Does not enable Autopilot, change runtime cadence or send messages. Preserve workspace HITL.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
See the input schema for this field.
skillNameRequired · string
See the input schema for this field.
expectedDraftCreatedAtRequired · string
Exact pending draft createdAt, null only when no draft exists.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "publish-sop-draft",
    "arguments": {
      "skillName": "example",
      "expectedDraftCreatedAt": "2026-01-01T00:00:00.000Z"
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "skillName": {
      "type": "string"
    },
    "expectedDraftCreatedAt": {
      "type": "string",
      "description": "Exact pending draft createdAt, null only when no draft exists."
    }
  },
  "required": [
    "skillName",
    "expectedDraftCreatedAt"
  ]
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview