OPA health check
opa_healthVerify OPA server health by hitting its /health endpoint, and optionally require bundles and plugins to be healthy too.
Instructions
Hit the OPA /health endpoint. A server that answers reports { healthy: true } on 200 and { healthy: false } with OPA's own reason otherwise, so an unactivated bundle is a health result rather than a tool error. OPA_UNREACHABLE means the server could not be reached at all. Supports bundles and plugins query flags to require those subsystems to also be healthy.
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": "opa_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundles | No | Require bundle plugin to be healthy as well. | |
| plugins | No | Require all plugins to be healthy. |