Agents / MCP

Save sop draft

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

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
See the input schema for this field.
skillNameRequired · string
See the input schema for this field.
overlayMdRequired · string
See the input schema for this field.
expectedDraftCreatedAtRequired · string | null
Exact pending draft createdAt, null only when no draft exists.
Request example
{
  "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"
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "skillName": {
      "type": "string"
    },
    "overlayMd": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000
    },
    "expectedDraftCreatedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Exact pending draft createdAt, null only when no draft exists."
    }
  },
  "required": [
    "skillName",
    "overlayMd",
    "expectedDraftCreatedAt"
  ]
}
See this operation inCLI REST API TypeScript SDK
Tool directory | Pipeline v2 preview