mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-25 21:41:12 -07:00
feat: Deprecate tool args in favor of policy engine
Deprecate `--allowedTools`, `--excludeTools`, and `--coreTools` in favor of the Policy Engine. Display a warning when `allowed-tools` CLI argument is used. Fixes #11302
This commit is contained in:
@@ -376,8 +376,11 @@ export interface ConfigParameters {
|
||||
debugMode: boolean;
|
||||
question?: string;
|
||||
|
||||
/** @deprecated Use the Policy System instead. See https://geminicli.com/docs/core/policy-engine/ */
|
||||
coreTools?: string[];
|
||||
/** @deprecated Use the Policy System instead. See https://geminicli.com/docs/core/policy-engine/ */
|
||||
allowedTools?: string[];
|
||||
/** @deprecated Use the Policy System instead. See https://geminicli.com/docs/core/policy-engine/ */
|
||||
excludeTools?: string[];
|
||||
toolDiscoveryCommand?: string;
|
||||
toolCallCommand?: string;
|
||||
|
||||
Reference in New Issue
Block a user