ketan_check_invariant
Validate a planned tool call before it runs. Check invariants and catch potential errors without side effects.
Instructions
Run a pre-flight invariant check WITHOUT executing anything. Validate a planned action before committing to it.
Args: tool_name: Name of the tool you plan to call (e.g., "write_file", "bash") tool_args_json: JSON string of the arguments you plan to pass
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| tool_args_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |