files-read
files-readRetrieve file content from storage. Images display directly; other files return base64-encoded data or plain text based on encoding option.
Instructions
Reads file content from storage. Images (PNG, JPEG, GIF, WebP, SVG) are returned as native MCP image content blocks that LLMs can view directly. Non-image files return base64-encoded content by default, or plain text if encoding='text'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Output encoding: 'base64' (default, for binary files) or 'text' (for text files). Ignored for images. | |
| item_id | Yes | File item ID (@rid format) |