what_if
Run hypothetical changes to a knowledge base by adding or removing facts, then see how query results differ to inform your decisions.
Instructions
What-if analysis: apply modifications to a knowledge base and see how they affect query results. Use + prefix to add facts, - prefix to remove facts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kb_id | No | ||
| query | No | ||
| max_depth | No | ||
| max_solutions | No | ||
| modifications | No | ||
| base_knowledge | No | ||
| delta_knowledge | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta | No | ||
| error | No | ||
| query | No | ||
| version | No | ||
| conclusion | No | ||
| elapsed_ms | No | ||
| after_count | No | ||
| before_count | No | ||
| content_hash | No | ||
| modifications | No | ||
| solutions_after | No | ||
| solutions_before | No |