← API reference
Mutation / scripting

testMCPTool

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

Arguments

Tool draft to run.

inputJSONString!

JSON arguments; execution may have real effects.

Returns String!

Explore in a view

Scripting
View exact 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"])

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