Function: checkPlanScope()
function checkPlanScope(
scope,
toolName,
input
): string | undefined;
Defined in: core/hooks/planGate.ts:33
The reason to deny toolName with input in plan mode, or undefined to let it through.
Anything not known to only read is denied, so a tool nobody thought of can't change
anything while the human reviews the plan.
Parameters
| Parameter | Type |
|---|---|
scope | PlanScope |
toolName | string |
input | Record<string, unknown> |
Returns
string | undefined