files_share
files_share
Make a file readable by anyone with its URL, or private again
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
| Name | Type | What it is |
|---|---|---|
id* | string | The file's id |
public* | boolean | True to let anyone with the URL read it, false to make it private again |
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":{"id":"id","public":"public"},"name":"files_share"}}Try it in the playground.


