← API reference
Mutation / scripting

publishMCPTool

Analyze and publish the current draft atomically.

Arguments

Tool identity.

expectedRevisionString!

Exact revision to publish.

Returns MCPToolPayload!

Explore in a view

Scripting
View exact SDL
"""Analyze and publish the current draft atomically."""
publishMCPTool(
  """Tool identity."""
  id: MCPToolID!
  """Exact revision to publish."""
  expectedRevision: String!
): MCPToolPayload! @topic(names: ["scripting"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.