files_read
ActiveTool of io.github.saloprj/dialogbrain
Read **text content** of an attached file. Works for: .txt, .md, .json, code files, and PDFs (after files.ingest extracts text). DO NOT call on binary files — for IMAGES use `files.get_base64`, for AUDIO/VIDEO it cannot be transcribed via this tool, and for non-PDF DOCUMENTS run `files.ingest` first, THEN files.read. Calling on a binary mime-type returns an error — saves you a turn to read the routing hint before deciding.
Parameters schema
{
"type": "object",
"required": [
"file_id"
],
"properties": {
"file_id": {
"type": "integer",
"description": "ID of the file to read (from attachment_file_ids in context)."
},
"encoding": {
"type": "string",
"default": "utf-8",
"description": "Text encoding to use (default: utf-8)."
},
"max_chars": {
"type": "integer",
"default": 10000,
"maximum": 50000,
"minimum": 100,
"description": "Maximum characters to return (default: 10000). Use smaller values for large files."
},
"summarize": {
"type": "boolean",
"description": "If true, generate AI summary instead of returning raw content. Use for 'summary', 'summarize', 'краткое содержание' requests. OMIT to return raw content (the default)."
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries