mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-18 01:51:20 -07:00
feat(core): disable tool discovery by default and require explicit configuration
This commit is contained in:
@@ -1190,6 +1190,17 @@ const SETTINGS_SCHEMA = {
|
||||
description: 'Command to run for tool discovery.',
|
||||
showInDialog: false,
|
||||
},
|
||||
enableToolDiscovery: {
|
||||
type: 'boolean',
|
||||
label: 'Enable Tool Discovery',
|
||||
category: 'Tools',
|
||||
requiresRestart: true,
|
||||
default: false,
|
||||
description: oneLine`
|
||||
Enables the tool discovery feature using \`tools.discoveryCommand\`.
|
||||
`,
|
||||
showInDialog: true,
|
||||
},
|
||||
callCommand: {
|
||||
type: 'string',
|
||||
label: 'Tool Call Command',
|
||||
|
||||
Reference in New Issue
Block a user