files_put

files_put

Store a file and get a URL for it — a report, a CSV, a transcript

Free. This one only touches this instance's own storage, so there is nothing to charge for.

Runs on Files — Per-user file storage: keep a file, get a URL, read it back.

Arguments

NameTypeWhat it is
name*stringFile name including its extension, e.g. "report.csv"
content*stringThe file's contents — plain text, or base64 when encoding is "base64"
encodingstring"base64" for binary files; omit for text
typestringOptional content type, e.g. "text/csv". Guessed from the name when omitted

Calling it

Three doors onto the same method. MCP is what an agent speaks, REST is what a program speaks, and the answer is identical.

{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"content":"content","name":"name"},"name":"files_put"}}

Try it in the playground.