Mu Mutation

testMCPTool

Topics: Scripting

Run the current draft as the authenticated developer; also requires mcpTool:read.

Returns

String!

Arguments

id

MCPToolID!Required

Tool draft to run.

JSON arguments; execution may have real effects.

Exact field SDL
"""
Run the current draft as the authenticated developer; also requires mcpTool:read.
"""
testMCPTool(
  """Tool draft to run."""
  id: MCPToolID!
  """JSON arguments; execution may have real effects."""
  inputJSON: String!
): String! @topic(names: ["scripting"])

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