mcpDeterministic

Publish sop draft

tools/call

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

Parameters

workspaceId
string
No description.
skillNamerequired
string
No description.
expectedDraftCreatedAtrequired
string
Exact pending draft createdAt, null only when no draft exists.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "publish-sop-draft",
"arguments": {
"skillName": "example",
"expectedDraftCreatedAt": "2026-01-01T00:00:00.000Z"
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"overlay": {
"type": "object"
},
"version": {
"type": "object"
}
},
"required": [
"overlay",
"version"
]
}

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.
Pipeline MCP documentation | Pipeline