diff --git a/src/renderer/services/tool-registry.ts b/src/renderer/services/tool-registry.ts index ec3ef6b..6acc527 100644 --- a/src/renderer/services/tool-registry.ts +++ b/src/renderer/services/tool-registry.ts @@ -367,7 +367,7 @@ export const TOOL_DEFINITIONS: ToolDefinition[] = [ CRITICAL: For add action, you MUST include both "type" (fact/preference/rule) and "content" fields. If you omit them, the call will fail.`, parameters: { type: 'object', - required: ['action', 'type'], + required: ['action'], properties: { action: { type: 'string', enum: ['search', 'add', 'replace', 'remove', 'read_all'], description: 'Which operation to perform.' }, query: { type: 'string', description: '[search] Keywords to search for.' }, @@ -791,12 +791,11 @@ export async function executeTool(toolName: string, args: Record