# topo-vietoris-rips

`station__graph-ops__topo-vietoris-rips` · external (needs EXECUTION_BACKEND_URL configured) · domain `graph-ops` · pv-relevance `non-pv`

Build a Vietoris-Rips complex and return its structure

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `distances` *array* (required) — Pairwise distances as a square matrix (array of arrays)
- `labels` *array* — Optional labels for each point (must match matrix size)
- `max_dim` *integer* — Maximum simplex dimension (1=edges, 2=triangles, default 2)
- `max_filtration` *number* — Maximum filtration value (default: f64::MAX — include all)

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__graph-ops__topo-vietoris-rips",
    "arguments": {
      "distances": []
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/graph-ops__topo-vietoris-rips](/tools/graph-ops__topo-vietoris-rips) — HTML page
- [/tools/graph-ops__topo-vietoris-rips/json](/tools/graph-ops__topo-vietoris-rips/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
