Templates

platphorm-native

MCP Tool Form

Render an MCP tool input schema as a public-safe AgentUI form with validation, JSON preview, JSON-RPC example, and operator boundary panel.

availabletool_renderoperator boundary includedbuilt_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

    Load MCP tool schema

    public-safe
  3. Step 3 · transform_json

    Render schema fields

    public-safe
  4. Step 4 · approval

    Operator tool boundary panel

    operator boundary
  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": "Load MCP tool schema",
      "x": 310,
      "y": 240,
      "position": {
        "x": 310,
        "y": 240
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "service": "mcp.platphormnews.com",
        "mode": "public_introspection"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "transform_json-3",
      "type": "transform_json",
      "label": "Render schema fields",
      "x": 540,
      "y": 160,
      "position": {
        "x": 540,
        "y": 160
      },
      "config": {
        "publicSafe": true,
        "protectedAction": false,
        "renderer": "schema_to_form"
      },
      "status": "idle",
      "metadata": {}
    },
    {
      "id": "approval-4",
      "type": "approval",
      "label": "Operator tool boundary panel",
      "x": 770,
      "y": 240,
      "position": {
        "x": 770,
        "y": 240
      },
      "config": {
        "publicSafe": false,
        "protectedAction": true
      },
      "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": "approval-4",
      "sourceNodeId": "transform_json-3",
      "targetNodeId": "approval-4",
      "metadata": {}
    },
    {
      "id": "edge-4",
      "source": "approval-4",
      "target": "end-5",
      "sourceNodeId": "approval-4",
      "targetNodeId": "end-5",
      "metadata": {}
    }
  ]
}