read_resource
Retrieve content and metadata from a specific resource by providing its URI. This tool reads resources from connected MCP servers for testing and validation purposes.
Instructions
Read a specific resource from the connected MCP server.
Reads a resource by URI and returns its content along with metadata.
Returns: Dictionary with resource content including: - success: True if resource was read successfully - resource: Object with uri, mimeType, and content - metadata: Content size and request timing
Raises: Returns error dict for various failure scenarios: - not_connected: No active connection - resource_not_found: Resource doesn't exist on server - execution_error: Resource read failed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | URI of the resource to read (e.g., 'config://settings') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||