# viz-hypergraph

`station__observatory__viz-hypergraph` · external (needs EXECUTION_BACKEND_URL configured) · domain `observatory` · pv-relevance `non-pv`

Construct a hypergraph and compute metrics, components, bipartiteness.

> **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

- `directed` *boolean* (required)
- `hyperedges` *string* (required) — Hyperedges as JSON array of arrays of node indices, e.g. "[[0,1,2],[1,3]]"
- `node_labels` *array* (required) — Node labels

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__observatory__viz-hypergraph",
    "arguments": {
      "directed": false,
      "hyperedges": "",
      "node_labels": []
    }
  }
}
```

## Related

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