what_if
Apply fact modifications to a knowledge base and instantly see how query results change. Use + to add facts and - to remove them, then observe the impact on logical inference.
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 |