> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# normalize • AI Agent SDK

> normalize: Pass through result with minimal normalization.

# normalize

Method

> This is a method of the [**PassThroughMiddleware**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/PassThroughMiddleware.md) class in the [**middleware**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/middleware.md) module.

Pass through result with minimal normalization.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def normalize(result: Any, tool_name: str, ctx: MiddlewareContext) -> NormalizedToolResult
```

## Parameters

**result** `Any` *required*

No description available.

**tool\_name** `str` *required*

No description available.

**ctx** `MiddlewareContext` *required*

No description available.

### Returns

**Returns** `NormalizedToolResult`

The result of the operation.

## Uses

* `NormalizedToolResult`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/middleware.py#L133)
>
> `praisonaiagents/runtime/middleware.py` at line 133


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.