agents_add_file
ActiveTool of io.github.saloprj/dialogbrain
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"
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries