brain_predict_failures
Predict top failure modes before any deployment, migration, or infrastructure change. Provide probability-ranked risks with pre-loaded fixes to prevent incidents.
Instructions
Pre-deploy failure prediction with probability percentages. Given a change context (e.g. "upgrading Keycloak 21→24" or "deploying Redis 7 to prod"), returns the top likely failure modes ranked by probability, with pre-loaded fixes. Uses CKG causal edges + lesson history. Call before any significant deploy, migration, or infrastructure change.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"context": "<context>"
},
"name": "brain_predict_failures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Number of failure predictions to return (default: 5) | |
| format | No | Output format (default: detailed) | |
| context | Yes | What you are about to do, e.g. "upgrading Keycloak 21 to 24" | |
| instance_id | Yes | Brain instance ID |