mcp-chain-of-thought
Version:
Chain of Thought is a tool built for AI Agents, emphasizing chain-of-thought, reflection, and style consistency. It converts natural language into structured dev tasks with dependency tracking and iterative refinement, enabling agent-like developer behavi
42 lines (41 loc) • 1.27 kB
TypeScript
import { z } from "zod";
/**
* Parameter structure for processThought tool
*/
export declare const processThoughtSchema: z.ZodObject<{
thought: z.ZodString;
thought_number: z.ZodNumber;
total_thoughts: z.ZodNumber;
next_thought_needed: z.ZodBoolean;
stage: z.ZodString;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
axioms_used: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
assumptions_challenged: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
thought: string;
stage: string;
thought_number: number;
total_thoughts: number;
next_thought_needed: boolean;
tags?: string[] | undefined;
axioms_used?: string[] | undefined;
assumptions_challenged?: string[] | undefined;
}, {
thought: string;
stage: string;
thought_number: number;
total_thoughts: number;
next_thought_needed: boolean;
tags?: string[] | undefined;
axioms_used?: string[] | undefined;
assumptions_challenged?: string[] | undefined;
}>;
/**
* Process a single thought and return formatted output
*/
export declare function processThought(params: z.infer<typeof processThoughtSchema>): Promise<{
content: {
type: "text";
text: string;
}[];
}>;