← WebMCP Directory

Tool tree

shidh.in

Developer ToolsTools verified
Website
WebMCP Excalidraw Demo
Explore capabilities
    generate_mermaidAction

    Generate Mermaid diagram syntax from a natural language prompt. Returns the raw Mermaid code. After calling this, you MUST call validate_mermaid with the returned code to check if it is syntactically valid before rendering.

    View tool JSON
    {
      "name": "generate_mermaid",
      "kind": "act",
      "impl": "imperative",
      "description": "Generate Mermaid diagram syntax from a natural language prompt. Returns the raw Mermaid code. After calling this, you MUST call validate_mermaid with the returned code to check if it is syntactically valid before rendering.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "description": "Natural language description of the diagram to create"
          }
        },
        "required": [
          "prompt"
        ]
      },
      "page": "/demo/webmcp-excalidraw/"
    }
    validate_mermaidAction

    Validate Mermaid diagram syntax. Returns whether the code is syntactically valid and an error message if not. If invalid: improve the prompt based on the error and call generate_mermaid again. If valid: call render_excalidraw.

    View tool JSON
    {
      "name": "validate_mermaid",
      "kind": "act",
      "impl": "imperative",
      "description": "Validate Mermaid diagram syntax. Returns whether the code is syntactically valid and an error message if not. If invalid: improve the prompt based on the error and call generate_mermaid again. If valid: call render_excalidraw.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mermaid_code": {
            "type": "string",
            "description": "Mermaid diagram syntax to validate"
          }
        },
        "required": [
          "mermaid_code"
        ]
      },
      "page": "/demo/webmcp-excalidraw/"
    }
    render_excalidrawAction

    Render Mermaid diagram syntax on the Excalidraw canvas. Only call this after validate_mermaid confirms the code is valid.

    View tool JSON
    {
      "name": "render_excalidraw",
      "kind": "act",
      "impl": "imperative",
      "description": "Render Mermaid diagram syntax on the Excalidraw canvas. Only call this after validate_mermaid confirms the code is valid.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mermaid_code": {
            "type": "string",
            "description": "Valid Mermaid diagram syntax to convert and render"
          }
        },
        "required": [
          "mermaid_code"
        ]
      },
      "page": "/demo/webmcp-excalidraw/"
    }