diagnose
Diagnose query failures and successes with modes for why, why not, and what needs to change to achieve success.
Instructions
Diagnose why a query succeeds or fails. Modes: 'why' (explain success), 'why_not' (explain failure), 'what_needs' (what would make it succeed)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | why | |
| kb_id | No | ||
| query | No | ||
| knowledge | No | ||
| max_depth | No | ||
| max_solutions | No | ||
| delta_knowledge | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| error | No | ||
| holds | No | ||
| proof | No | ||
| query | No | ||
| version | No | ||
| findings | No | ||
| solutions | No | ||
| conclusion | No | ||
| elapsed_ms | No | ||
| content_hash | No |