Templates

mcp

MCP Tool Test

Render an MCP tool form, validate public-safe input, and prepare operator-boundary evidence.

availableworkflowpublic-safe templatebuilt_in
Nodes
5
Edges
4
Version
3.0.0
Storage
local draft

Workflow graph

This is a reusable template graph. Opening it in Builder creates a browser-local draft that can be saved and reopened from Builder recent drafts or Gallery local drafts.

  1. Step 1 · start

    Start

    public-safe
  2. Step 2 · mcp_tool

    Render MCP tool schema

    public-safe
  3. Step 3 · transform_json

    Validate form payload

    public-safe
  4. Step 4 · trace_event

    Trace render evidence

    public-safe
  5. Step 5 · end

    Complete

    public-safe
Template JSON
{
  "nodes": [
    {
      "id": "start-1",
      "type": "start",
      "label": "Start",
      "x": 80,
      "y": 160,
      "position": {
        "x": 80,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "mcp_tool-2",
      "type": "mcp_tool",
      "label": "Render MCP tool schema",
      "x": 310,
      "y": 240,
      "position": {
        "x": 310,
        "y": 240
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "service": "mcp.platphormnews.com",
        "tool": "get_health",
        "mode": "render_only"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "transform_json-3",
      "type": "transform_json",
      "label": "Validate form payload",
      "x": 540,
      "y": 160,
      "position": {
        "x": 540,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "validation": "json_schema"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "trace_event-4",
      "type": "trace_event",
      "label": "Trace render evidence",
      "x": 770,
      "y": 240,
      "position": {
        "x": 770,
        "y": 240
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "eventName": "agentui.renderer.mcp_tool"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "end-5",
      "type": "end",
      "label": "Complete",
      "x": 1000,
      "y": 160,
      "position": {
        "x": 1000,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false
      },
      "status": "idle",
      "metadata": {}
    }
  ],
  "edges": [
    {
      "id": "edge-1",
      "source": "start-1",
      "target": "mcp_tool-2",
      "sourceNodeId": "start-1",
      "targetNodeId": "mcp_tool-2",
      "condition": "success",
      "metadata": {}
    },
    {
      "id": "edge-2",
      "source": "mcp_tool-2",
      "target": "transform_json-3",
      "sourceNodeId": "mcp_tool-2",
      "targetNodeId": "transform_json-3",
      "metadata": {}
    },
    {
      "id": "edge-3",
      "source": "transform_json-3",
      "target": "trace_event-4",
      "sourceNodeId": "transform_json-3",
      "targetNodeId": "trace_event-4",
      "metadata": {}
    },
    {
      "id": "edge-4",
      "source": "trace_event-4",
      "target": "end-5",
      "sourceNodeId": "trace_event-4",
      "targetNodeId": "end-5",
      "metadata": {}
    }
  ]
}