Module callback

Module callback 

Source
Expand description

Callback types for tool execution lifecycle.

Callbacks provide a lightweight alternative to plugins for simple before/after tool interception. They are closures registered on the agent builder.

Structs§

ToolCallResult
The result of a tool call, passed to after-tool callbacks.

Enums§

BeforeToolResult
The result of a before-tool callback.

Type Aliases§

AfterToolCallback
An after-tool callback function type.
BeforeToolCallback
A before-tool callback function type.