stop_contemplation
Terminate ongoing background cognitive processing to halt pattern recognition and insight development between conversations.
Instructions
Stop the contemplation loop
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:325-335 (handler)Core handler function that stops the contemplation subprocess by sending a 'stop' action via stdin and then killing the process, returning appropriate status messages.async stop(): Promise<string> { if (!this.subprocess) { return 'Contemplation loop not running'; } this.subprocess.stdin?.write(JSON.stringify({ action: 'stop' }) + '\n'); this.subprocess.kill(); this.subprocess = undefined; return 'Contemplation loop stopped'; }
- src/index.ts:465-472 (registration)Registers the 'stop_contemplation' tool in the MCP server's list of tools, including its description and empty input schema.{ name: 'stop_contemplation', description: 'Stop the contemplation loop', inputSchema: { type: 'object', properties: {}, }, },
- src/index.ts:557-562 (handler)MCP CallToolRequest handler case that invokes the ContemplationManager.stop() method and formats the response for the protocol.case 'stop_contemplation': { const result = await contemplation.stop(); return { content: [{ type: 'text', text: result }], }; }