list_capabilities
Fetch read-only capability catalog to rank host tools and Haven agent delegation before session creation. Apply routing policies (best, as_provided, constrained_best) and evidence gates for auditable decisions.
Instructions
Read-only machine-readable capability catalog Haven publishes for host merge. Returns haven.agent_delegation plus hostMerge.guide (scoreHints cookbook + examples) and an auditable routing ranking. Policies: best (soft weighted), as_provided (caller order), constrained_best (hard constraints then lexicographic objective; requires constraints + optional objective; emits ranking.filtered). Structured evidence gates (verification.status, scope.domain, freshness, verifierTrust) use component cards; never evidenceConfidence. Soft peerWarnings when host peers omit hints. Median completion latency is never ranked (fact + measuredN only). Optional task improves fit. Optional peers ranks host tools beside Haven (POST /api/capabilities/rank). Never forces Haven selection, never means fail-over after vendor failure, and never shuffles. Call before create_session when deciding whether agent-delegation fits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ISO timestamp for freshness age/expiry evaluation (deterministic). Default: now. | |
| task | No | Optional task text used for fit scoring (e.g. what you need done). | |
| peers | No | Optional host peer capability cards to rank beside Haven. Same layout as catalog entries; forceSelection must be false. Attach structured evidence cards (capability/claim/verification/freshness/scope). | |
| policy | No | Routing policy. best (default): soft weighted rank. as_provided: preserve caller order. constrained_best: hard constraints then soft objective (requires constraints). random/shuffle are rejected. | |
| objective | No | Soft lexicographic objective among feasible candidates. Example: { "maximize": "fit", "secondary": "minimize expectedSteps" }. | |
| constraints | No | Hard eligibility gates for policy=constrained_best. Score dims (">= 0.70", "== compatible") plus evidence components (verification.status, scope.domain, freshness.ageDays, verifierTrust, evidenceProvenance). No evidenceConfidence. Infeasible candidates appear in ranking.filtered. | |
| includeHaven | No | When peers are supplied, include Haven's agent_delegation card (default true). | |
| minProvenance | No | First-class provenance floor for policy=constrained_best (compiles to evidenceProvenance >= level; eliminations audit as provenance_below_min). Rejected on other policies. | |
| trustedVerifiers | No | Host trust list for verifierTrust: "== trusted". Required when that constraint is set. Unknown/adversarial verifiers fail closed. |