* Represents the context and state of a tool during its lifecycle * @interface ToolContext
| 34 | * @interface ToolContext |
| 35 | */ |
| 36 | interface 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 |
nothing calls this directly
no outgoing calls
no test coverage detected