Interface for the executable logic of a tool.
Readonly
The schema definition for this tool.
Executes the tool's logic.
Validated input arguments matching the tool's inputSchema.
Execution context containing threadId, traceId, etc.
A promise resolving to the structured tool result.
Interface for the executable logic of a tool.