← WebMCP Directory

Tool tree

lian0123.github.io

Productivity & BusinessTools verified
Website
lian0123.github.io exposes WebMCP tools to AI agents.
Explore capabilities
    card.getStateAnswer

    Returns the current state of the virtual business card application, including card type, language, theme, all card data fields, QR content, and WebMCP status.

    View tool JSON
    {
      "name": "card.getState",
      "kind": "answer",
      "impl": "imperative",
      "description": "Returns the current state of the virtual business card application, including card type, language, theme, all card data fields, QR content, and WebMCP status.",
      "inputSchema": {},
      "page": "/virtual-business-card-project/"
    }
    card.setTypeAction

    Sets the card type to one of: "main" (standard business card), "qr" (QR code card), or "custom" (fully customizable card).

    View tool JSON
    {
      "name": "card.setType",
      "kind": "act",
      "impl": "imperative",
      "description": "Sets the card type to one of: \"main\" (standard business card), \"qr\" (QR code card), or \"custom\" (fully customizable card).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "cardType": {
            "type": "string",
            "enum": [
              "main",
              "qr",
              "custom"
            ],
            "description": "The card type to switch to."
          }
        },
        "required": [
          "cardType"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.setLanguageAction

    Sets the UI language/locale for the application. Supports locale codes like "zh-TW", "en-US", "ja-JP", "ko-KR", "fr-FR", "de-DE", "es-ES", etc.

    View tool JSON
    {
      "name": "card.setLanguage",
      "kind": "act",
      "impl": "imperative",
      "description": "Sets the UI language/locale for the application. Supports locale codes like \"zh-TW\", \"en-US\", \"ja-JP\", \"ko-KR\", \"fr-FR\", \"de-DE\", \"es-ES\", etc.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "lang": {
            "type": "string",
            "description": "BCP 47 locale code (e.g. \"en-US\", \"zh-TW\", \"ja-JP\")"
          }
        },
        "required": [
          "lang"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.setThemeAction

    Sets the application theme to "light" or "dark" mode.

    View tool JSON
    {
      "name": "card.setTheme",
      "kind": "act",
      "impl": "imperative",
      "description": "Sets the application theme to \"light\" or \"dark\" mode.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "theme": {
            "type": "string",
            "enum": [
              "light",
              "dark"
            ],
            "description": "The theme to apply."
          }
        },
        "required": [
          "theme"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.updateFieldAction

    Updates a single field on the business card. Common fields: name, title, company, email, phone, address, website, country, bgGradientColor1, bgGradientColor2, textColor, accentColor.

    View tool JSON
    {
      "name": "card.updateField",
      "kind": "act",
      "impl": "imperative",
      "description": "Updates a single field on the business card. Common fields: name, title, company, email, phone, address, website, country, bgGradientColor1, bgGradientColor2, textColor, accentColor.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "The card data field name to update."
          },
          "value": {
            "description": "The new value for the field."
          }
        },
        "required": [
          "field",
          "value"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.updateFieldsAction

    Updates multiple card data fields at once. Pass an object where keys are field names and values are the new values.

    View tool JSON
    {
      "name": "card.updateFields",
      "kind": "act",
      "impl": "imperative",
      "description": "Updates multiple card data fields at once. Pass an object where keys are field names and values are the new values.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "updates": {
            "type": "object",
            "description": "Object mapping field names to new values. e.g. { \"name\": \"Alex\", \"title\": \"Engineer\" }"
          }
        },
        "required": [
          "updates"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.updateLayoutAction

    Updates layout-related card fields such as fontSize, borderRadiusOuter, borderRadiusInner, shadowBlur, padding, etc.

    View tool JSON
    {
      "name": "card.updateLayout",
      "kind": "act",
      "impl": "imperative",
      "description": "Updates layout-related card fields such as fontSize, borderRadiusOuter, borderRadiusInner, shadowBlur, padding, etc.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "updates": {
            "type": "object",
            "description": "Object mapping layout field names to new values. e.g. { \"fontSize\": 16, \"borderRadiusOuter\": 18 }"
          }
        },
        "required": [
          "updates"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.setQrContentAction

    Sets the content (URL or text) encoded in the QR code on the card.

    View tool JSON
    {
      "name": "card.setQrContent",
      "kind": "act",
      "impl": "imperative",
      "description": "Sets the content (URL or text) encoded in the QR code on the card.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "The content/URL to encode in the QR code."
          }
        },
        "required": [
          "value"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.applyTemplateAction

    Applies a predefined design template to the card. Available templates include "professional", "creative", "minimal", etc.

    View tool JSON
    {
      "name": "card.applyTemplate",
      "kind": "act",
      "impl": "imperative",
      "description": "Applies a predefined design template to the card. Available templates include \"professional\", \"creative\", \"minimal\", etc.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateName": {
            "type": "string",
            "description": "The name of the template to apply."
          }
        },
        "required": [
          "templateName"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.setBackgroundImageAction

    Sets the background image of the card from a URL. The card type should be "custom" to display background images.

    View tool JSON
    {
      "name": "card.setBackgroundImage",
      "kind": "act",
      "impl": "imperative",
      "description": "Sets the background image of the card from a URL. The card type should be \"custom\" to display background images.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "imageUrl": {
            "type": "string",
            "description": "URL of the image to use as card background.",
            "format": "uri"
          }
        },
        "required": [
          "imageUrl"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.exportAction

    Exports the business card in the specified format. Supported formats: "png", "jpg", "webp" (image), "html" (standalone HTML file), "vcf" (vCard contact file).

    View tool JSON
    {
      "name": "card.export",
      "kind": "act",
      "impl": "imperative",
      "description": "Exports the business card in the specified format. Supported formats: \"png\", \"jpg\", \"webp\" (image), \"html\" (standalone HTML file), \"vcf\" (vCard contact file).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "png",
              "jpg",
              "webp",
              "html",
              "vcf"
            ],
            "description": "The export format."
          }
        },
        "required": [
          "format"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.simulateActionAction

    Simulates a user interaction on the card UI. Supports "click" action with targets like "export.png", "export.jpg", "export.webp", "export.html", "export.vcf", "animation.replay", "animation.toggle". Also supports "input" action to remotely fill a field.

    View tool JSON
    {
      "name": "card.simulateAction",
      "kind": "act",
      "impl": "imperative",
      "description": "Simulates a user interaction on the card UI. Supports \"click\" action with targets like \"export.png\", \"export.jpg\", \"export.webp\", \"export.html\", \"export.vcf\", \"animation.replay\", \"animation.toggle\". Also supports \"input\" action to remotely fill a field.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "click",
              "input"
            ],
            "description": "The type of action to simulate."
          },
          "target": {
            "type": "string",
            "description": "The target element or field for the action."
          },
          "value": {
            "description": "The value to input (only for \"input\" action)."
          }
        },
        "required": [
          "action",
          "target"
        ]
      },
      "page": "/virtual-business-card-project/"
    }
    card.setStateAction

    Applies a partial state patch to the application. Can update top-level properties (cardType, lang, theme, qrContent) and nested cardData fields simultaneously.

    View tool JSON
    {
      "name": "card.setState",
      "kind": "act",
      "impl": "imperative",
      "description": "Applies a partial state patch to the application. Can update top-level properties (cardType, lang, theme, qrContent) and nested cardData fields simultaneously.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "statePatch": {
            "type": "object",
            "description": "Partial state to merge. Top-level keys: cardType, lang, theme, qrContent, selectedTemplate, customImage, textStickers, cardData (object).",
            "properties": {
              "cardType": {
                "type": "string",
                "enum": [
                  "main",
                  "qr",
                  "custom"
                ]
              },
              "lang": {
                "type": "string"
              },
              "theme": {
                "type": "string",
                "enum": [
                  "light",
                  "dark"
                ]
              },
              "qrContent": {
                "type": "string"
              },
              "selectedTemplate": {
                "type": "string"
              },
              "customImage": {
                "type": "string"
              },
              "textStickers": {
                "type": "array"
              },
              "cardData": {
                "type": "object"
              }
            }
          }
        },
        "required": [
          "statePatch"
        ]
      },
      "page": "/virtual-business-card-project/"
    }