You're viewing a demo portfolio

Join the waitlist
PRSM

agents_add_file

Active

Tool of io.github.saloprj/dialogbrain

declared in 1.17.0

Attach a file to this agent's private knowledge (agent-specific files, not shared with other agents). Workflow: 1. Upload the file with files_upload (pass source_url for remote files) 2. Index it with files_ingest (pass the file_id) 3. Call this tool with agent_id + file_id Returns chunk_count — shows 0 while still processing. Call agents.list_files later to see the final chunk count once indexing completes.

Parameters schema

{
  "type": "object",
  "required": [
    "agent_id",
    "file_id"
  ],
  "properties": {
    "file_id": {
      "type": "integer",
      "description": "file_id returned by files_upload or files_ingest"
    },
    "agent_id": {
      "type": "integer",
      "description": "ID of the agent to attach the file to"
    }
  }
}

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 →
agents_add_file — io.github.saloprj/dialogbrain — PRSM MCP