sequentialthinking

package
v0.40.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SequentialThinkingTool

type SequentialThinkingTool struct {
	// contains filtered or unexported fields
}

SequentialThinkingTool implements the tools.Tool interface for sequential thinking

func (*SequentialThinkingTool) Definition

func (t *SequentialThinkingTool) Definition() mcp.Tool

Definition returns the tool's definition for MCP registration

func (*SequentialThinkingTool) Execute

func (t *SequentialThinkingTool) Execute(ctx context.Context, logger *logrus.Logger, cache *sync.Map, args map[string]any) (*mcp.CallToolResult, error)

Execute executes the tool's logic

type ThoughtData

type ThoughtData struct {
	Thought       string `json:"thought"`
	ThoughtNumber int    `json:"thoughtNumber"`
	Continue      bool   `json:"continue"`
	IsRevision    bool   `json:"isRevision,omitempty"`
	RevisedText   string `json:"revisedText,omitempty"`
	ExploreLabel  string `json:"exploreLabel,omitempty"`
}

ThoughtData represents a single thought in the sequential thinking process

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL