← WebMCP Directory

Tool tree

webmcp-tda.pages.dev

Health & EducationTools verified
Website
A shared browser-local persistent homology workbench for people and WebMCP agents
Explore capabilities
    tda_get_capabilitiesAnswer

    List the supported simplicial complexes, required parameter names, input limits, filtration units, and cubical-image modes before selecting a computation.

    View tool JSON
    {
      "name": "tda_get_capabilities",
      "kind": "answer",
      "impl": "imperative",
      "description": "List the supported simplicial complexes, required parameter names, input limits, filtration units, and cubical-image modes before selecting a computation.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      }
    }
    tda_compute_simplicial_persistenceAction

    Compute one-parameter persistent homology for a supplied 2D or 3D point cloud using a Vietoris–Rips, Alpha, or Čech complex. Runs locally in a Web Worker and updates the visible shared result.

    View tool JSON
    {
      "name": "tda_compute_simplicial_persistence",
      "kind": "act",
      "impl": "imperative",
      "description": "Compute one-parameter persistent homology for a supplied 2D or 3D point cloud using a Vietoris–Rips, Alpha, or Čech complex. Runs locally in a Web Worker and updates the visible shared result.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "complex": {
            "type": "string",
            "enum": [
              "rips",
              "alpha",
              "cech"
            ],
            "description": "Complex family: Vietoris–Rips, Alpha, or Čech."
          },
          "points": {
            "type": "array",
            "minItems": 2,
            "maxItems": 256,
            "items": {
              "type": "array",
              "minItems": 2,
              "maxItems": 3,
              "items": {
                "type": "number",
                "minimum": -1000000,
                "maximum": 1000000
              }
            },
            "description": "Point coordinates. Every point must have the same length, either 2 or 3. Limit: 256 points."
          },
          "coefficientField": {
            "type": "integer",
            "enum": [
              2,
              3,
              5,
              7,
              11,
              13,
              17,
              19
            ],
            "default": 2
          },
          "resultLimit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "default": 50
          },
          "parameters": {
            "type": "object",
            "properties": {
              "maxEdgeLength": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 4000000,
                "description": "Rips maximum edge length."
              },
              "maxRadius": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 4000000,
                "description": "Čech maximum ball radius."
              },
              "maxSimplexDimension": {
                "type": "integer",
                "minimum": 1,
                "maximum": 3,
                "description": "Optional override. Defaults to 2 for 2D input and 3 for 3D input."
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "complex",
          "points"
        ],
        "additionalProperties": false
      }
    }
    tda_compute_cubical_persistenceAction

    Denoise an image, convert it to a binary foreground mask, close small mask holes, then compute 2D vertex lower-star cubical persistence over F2. Accepts the current uploaded image, a built-in sample, or supplied row-major scalar values. Omit threshold to use Otsu auto-thresholding. Runs locally in a Web Worker and updates the visible shared result.

    View tool JSON
    {
      "name": "tda_compute_cubical_persistence",
      "kind": "act",
      "impl": "imperative",
      "description": "Denoise an image, convert it to a binary foreground mask, close small mask holes, then compute 2D vertex lower-star cubical persistence over F2. Accepts the current uploaded image, a built-in sample, or supplied row-major scalar values. Omit threshold to use Otsu auto-thresholding. Runs locally in a Web Worker and updates the visible shared result.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "enum": [
              "current",
              "sample",
              "values"
            ],
            "default": "current"
          },
          "sample": {
            "type": "string",
            "enum": [
              "donut",
              "pretzel",
              "glasses"
            ],
            "description": "A bundled real photograph with visually meaningful holes."
          },
          "width": {
            "type": "integer",
            "minimum": 2,
            "maximum": 256
          },
          "height": {
            "type": "integer",
            "minimum": 2,
            "maximum": 256
          },
          "values": {
            "type": "array",
            "maxItems": 65536,
            "items": {
              "type": "number"
            },
            "description": "Row-major scalar values; required when source is values and must contain width × height entries."
          },
          "binarize": {
            "type": "boolean",
            "default": true,
            "description": "Binarize before persistence. Set false to preserve a grayscale filtration."
          },
          "threshold": {
            "type": "number",
            "minimum": 0,
            "maximum": 255,
            "description": "Manual grayscale threshold. Omit for Otsu automatic thresholding."
          },
          "foreground": {
            "type": "string",
            "enum": [
              "dark",
              "light"
            ],
            "default": "dark",
            "description": "Pixels on this side of the threshold become foreground value 0."
          },
          "filtration": {
            "type": "string",
            "enum": [
              "sublevel",
              "superlevel"
            ],
            "default": "sublevel"
          },
          "downsample": {
            "type": "integer",
            "enum": [
              1,
              2,
              4
            ],
            "default": 1
          },
          "resultLimit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200,
            "default": 50
          }
        },
        "required": [],
        "additionalProperties": false
      }
    }
    tda_get_latest_resultAnswer

    Read the latest persistence result and current image metadata from the workspace shared by the human and agent.

    View tool JSON
    {
      "name": "tda_get_latest_result",
      "kind": "answer",
      "impl": "imperative",
      "description": "Read the latest persistence result and current image metadata from the workspace shared by the human and agent.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      }
    }