Mu Mutation

upsertMCPTool

Topics: Scripting

Upsert a tool definition. Requires mcpTool:write.

Returns

MCPToolPayload!

Arguments

Authored fields and assignments. Set published to true for atomic publication.

Exact field SDL
"""Upsert a tool definition. Requires mcpTool:write."""
upsertMCPTool(
  """
  Authored fields and assignments. Set published to true for atomic publication.
  """
  input: MCPToolInput!
): MCPToolPayload! @topic(names: ["scripting"])

Declared on Mutation. Access is checked by the platform for each operation.