Skip to main content

RuntimeToolResultMiddleware

Defined in the middleware module.
AI Agent Protocol for runtime-scoped tool result middleware. Plugin harnesses implement this to normalize their vendor-specific tool results into the standard NormalizedToolResult format.

Methods

normalize()

Normalize a tool result into standard format.

runtime_id()

Unique identifier for the runtime this middleware handles.

Usage

Source

View on GitHub

praisonaiagents/runtime/middleware.py at line 67

Tools Concept

Create Custom Tools

Tool Development

Middleware Feature