> ## 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

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**PassThroughMiddleware**](../classes/PassThroughMiddleware) class in the [**middleware**](../modules/middleware) 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

<ParamField query="result" type="Any" required={true}>
  No description available.
</ParamField>

<ParamField query="tool_name" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="ctx" type="MiddlewareContext" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="NormalizedToolResult">
  The result of the operation.
</ResponseField>

## Uses

* `NormalizedToolResult`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/middleware.py#L133">
  `praisonaiagents/runtime/middleware.py` at line 133
</Card>
