You're viewing a demo portfolio

Join the waitlist
PRSM

files_read

Active

Tool of io.github.saloprj/dialogbrain

declared in 1.17.0

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)."
    }
  }
}

What this tool wraps· 2 endpoints

min confidence0.700.50

Parent server

io.github.saloprj/dialogbrain

https://github.com/saloprj/dialogbrain-mcp

1/7 registries
View full server →
files_read — io.github.saloprj/dialogbrain — PRSM MCP