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

# Read Resource • AI Agent SDK

> read_resource: Read an MCP resource by URI and return its normalised contents.

# read\_resource

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

> This is a method of the [**MCPToolRunner**](../classes/MCPToolRunner) class in the [**mcp**](../modules/mcp) module.

Read an MCP resource by URI and return its normalised contents.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def read_resource(uri: Any) -> Any
```

## Parameters

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

### Returns

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

## Uses

* `normalize_resource_result`

## Source

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