KB Gate Check
kb_gate_checkCheck a pending code action against session history to determine if it is allowed or requires consultation.
Instructions
Return a verdict (allow | consult_required) for a pending code action. Governed actions require a fresh consultation on record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | Name of the tool or command about to run. | |
| workspace | Yes | Project or workspace key in the KB. | |
| session_id | Yes | Agent session id checked against consult history. | |
| action_diff | No | Short description or diff summary of the pending action. | |
| action_path | No | Optional path or URL affected by the pending action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||