data/tools/tool library

Classes

AbortSignal
Simple abort signal for cancellation support.
Tool
Abstract base for all tools. Enhanced port of neomage/src/Tool.ts with permissions, safety flags, and execution context.
ToolResult
Result of executing a tool.
ToolUseContext
Context provided to tools during execution.
ValidationResult
Result of validating tool input.

Enums

InterruptBehavior
Tool interrupt behavior when user sends a new message.

Mixins

FileWriteToolMixin
Mixin for tools that write/modify files.
ReadOnlyToolMixin
Mixin for tools that only read files/data.
ShellToolMixin
Mixin for tools that execute shell commands.