Skip to main content
Glama

Read Media File

read_media_file
Read-only

Extract base64-encoded data and MIME type from image or audio files within permitted directories for processing by AI agents.

Instructions

Read an image or audio file. Returns the base64 encoded data and MIME type. Only works within allowed directories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentward-ai/agent-ward'

If you have feedback or need assistance with the MCP directory API, please join our Discord server