MCPcopy
hub / github.com/kodu-ai/claude-coder / ToolContext

Interface ToolContext

extension/src/agent/v1/tools/tool-executor.ts:36–45  ·  view source on GitHub ↗

* Represents the context and state of a tool during its lifecycle * @interface ToolContext

Source from the content-addressed store, hash-verified

34 * @interface ToolContext
35 */
36interface ToolContext {
37 /** Unique identifier for the tool context */
38 id: string
39 /** Instance of the tool being executed */
40 tool: BaseAgentTool<any>
41 /** Current execution status of the tool */
42 status: "pending" | "processing" | "completed" | "error"
43 /** Error object if the tool execution failed */
44 error?: Error
45}
46
47/**
48 * Manages the execution and lifecycle of tools in the Kodu extension

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected