read_resource
Retrieve content from GOV.UK resources by providing a URI, returning text or base64-encoded binary data for static or templated resources.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The URI of the resource to read |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |