{"ok":true,"site":{"host":"webmcp-tda.pages.dev","url":"https://webmcp-tda.pages.dev/","type":"live","desc":"A shared browser-local persistent homology workbench for people and WebMCP agents","tools":[{"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.","title":"Inspect TDA capabilities","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"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.","title":"Compute simplicial persistence","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"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.","title":"Compute image cubical persistence","annotations":{"readOnlyHint":false,"untrustedContentHint":false,"consequentialHint":false},"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"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.","title":"Read latest TDA result","annotations":{"readOnlyHint":true,"untrustedContentHint":false,"consequentialHint":false},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Health & Education","apiSurface":"spec","toolCount":4}}