createMCPTool
Topics: Scripting
Create a tool definition. Requires mcpTool:write.
Returns
MCPToolPayload!Arguments
Authored fields and assignments. Set published to true for atomic publication.
Exact field SDL
"""Create a tool definition. Requires mcpTool:write."""
createMCPTool(
"""
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.