← API reference
Mutation / scripting

updateMCPTool

Update a tool definition. Requires mcpTool:write.

Arguments

Tool identity.

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

Returns MCPToolPayload!

Explore in a view

Scripting
View exact SDL
"""Update a tool definition. Requires mcpTool:write."""
updateMCPTool(
  """Tool identity."""
  id: MCPToolID!
  """
  Authored fields and assignments. Set published to true for atomic publication.
  """
  input: MCPToolInput!
): MCPToolPayload! @topic(names: ["scripting"])

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