Log Correction
log_correctionLog incorrect tax calculations or rules, and optionally create overrides to automatically fix them in future outputs.
Instructions
Record when a calculation, rate, or rule was found to be incorrect. Optionally creates a knowledge override to fix it going forward. Use this whenever you find a mistake in the agent's output or when a user points out an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Authority for the correct value | |
| tool_name | Yes | Which tool produced the incorrect result | |
| description | Yes | What was wrong | |
| override_key | No | Dot-path key for the override (if creating one) | |
| correct_value | Yes | What the correct value should be | |
| effective_date | No | When the override takes effect (YYYY-MM-DD) | |
| create_override | No | If true, also creates a knowledge override to fix this automatically. Requires override_key and effective_date. | |
| incorrect_value | Yes | The wrong value or output |