Skip to main content

normalize

Method
This is a method of the RuntimeToolResultMiddleware class in the middleware module.
Normalize a tool result into standard format.

Signature

Parameters

Any
required
Raw tool result from the plugin harness
str
required
Name of the tool that was executed
MiddlewareContext
required
Execution context with metadata

Returns

NormalizedToolResult
NormalizedToolResult with standardized format

Source

View on GitHub

praisonaiagents/runtime/middleware.py at line 91