mcpDeterministic

Save sop draft

tools/call

Save a personalized Reply/SDR SOP as an inactive versioned workspace draft. No hosted inference. Review before publication.

Parameters

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

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "save-sop-draft",
"arguments": {
"skillName": "example",
"overlayMd": "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