approve_instinct
Approve an instinct for active use by setting its approved_by status to human, enabling persistent tool context across chat sessions.
Instructions
Approve an instinct for active use (sets approved_by to human)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Instinct ID to approve |
Implementation Reference
- src/server/index.ts:362-371 (handler)Handler implementation for the approve_instinct tool, which calls registry.approve.
case 'approve_instinct': { const id = String(args?.['id'] ?? ''); if (!id) return { content: [{ type: 'text', text: 'Error: id is required' }] }; try { const instinct = await registry.approve(id); return { content: [{ type: 'text', text: JSON.stringify({ approved: id, confidence: instinct.confidence, active: instinct.active }, null, 2) }] }; } catch (e) { return { content: [{ type: 'text', text: `Error: ${e instanceof Error ? e.message : String(e)}` }] }; } } - src/server/index.ts:167-177 (registration)Tool definition and schema registration for approve_instinct.
{ name: 'approve_instinct', description: 'Approve an instinct for active use (sets approved_by to human)', inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'Instinct ID to approve' }, }, required: ['id'], }, },