bridge_health
Checks the whole delegation chain: credential file, serve stability, auth, provider models, and skills. Deep mode runs a real MCP call on the cheapest model to confirm end-to-end readiness.
Instructions
Check the whole delegation chain in one call: credential file readable, serve up and STABLE (two spaced reads, so a dying instance cannot pass), auth enforced, provider models present, skills valid. With deep=true also runs a REAL MCP call through a disposable delegation on the cheapest model, then deletes that session. Run it with deep=true before a batch of delegations and whenever the environment smells broken - it is the manual liveness test turned into code. Do not run deep=true in a loop: it spends tokens.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bridge_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | true = also run a real MCP call through a throwaway session on the cheapest model | |
| model | No | Model for the deep probe (alias or "provider/model"). Defaults to "cheapModel" from bridge.config.json. |