Skip to main content

Module builtin

Module builtin 

Source
Expand description

Built-in middleware implementations.

Structs§

OutputFormatter
Middleware that truncates tool output to a maximum character length.
PermissionChecker
Middleware that checks tool call permissions against a PermissionPolicy.
RetryLimitedValidator
Tracks retry count for structured output validation.
SchemaValidator
Middleware that validates tool call input against the tool’s JSON Schema.
StructuredOutputValidator
Middleware that validates structured output from a tool against a JSON Schema.
TimeoutMiddleware
Middleware that enforces a timeout on tool execution.