files-read
files-readReads file content from storage, returning images as native MCP image blocks and other files as base64 or plain text.
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) |