Read Resource
read_resourceReads a resource by URI and returns its content, handling static URIs and filled-in templates, with binary content base64-encoded so agents can retrieve design-pattern reference material.
Instructions
Read a resource by its URI.
For static resources, provide the exact URI. For templated resources, provide the URI with template parameters filled in.
Returns the resource content as a string. Binary content is base64-encoded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uri": "<uri>"
},
"name": "read_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The URI of the resource to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |