Content / MCP

Run content work

Generate reviewable outputs for prepared hosted content work. Never publishes or sends.

tools/callBackend AI, consent required

Parameters

workspaceIdOptional · string
See the input schema for this field.
outputIdOptional · string
Regenerate only this saved idea slot, preserving other accepted edits.
workIdRequired · string
See the input schema for this field.
expectedRevisionRequired · integer
See the input schema for this field.
operationKeyRequired · string
Caller-stable retry key.
allowHostedAiOptional · boolean
Must be true when this operation uses Pipeline hosted inference.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "run-content-work",
    "arguments": {
      "workId": "00000000-0000-4000-8000-000000000000",
      "expectedRevision": 1,
      "operationKey": "example",
      "allowHostedAi": true
    }
  }
}
Full input schema
Input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "outputId": {
      "type": "string",
      "format": "uuid",
      "description": "Regenerate only this saved idea slot, preserving other accepted edits."
    },
    "workId": {
      "type": "string"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 1
    },
    "operationKey": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Caller-stable retry key."
    },
    "allowHostedAi": {
      "type": "boolean",
      "description": "Must be true when this operation uses Pipeline hosted inference."
    }
  },
  "required": [
    "workId",
    "expectedRevision",
    "operationKey"
  ]
}
See this operation inCLI REST API TypeScript SDK
Tool directory | Pipeline v2 preview