feat(core): disable tool discovery by default and require explicit configuration

This commit is contained in:
Yuna Seol
2026-02-09 14:11:04 -05:00
committed by Yuna Seol
parent ce84b3cb5f
commit b4df1183ba
7 changed files with 63 additions and 0 deletions

View File

@@ -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',