Skip to content

keep_file.notes

Kelly Ferrone edited this page Sep 24, 2026 · 1 revision

Over MCP it is one argument, uri

The example above is generated from the HTTP path, which needs the folder and the name apart to route the request — that is what the two path segments are for. The tool itself takes the composed address instead:

keep_file(uri="session://files/screenshots/hangar-check.png")

Every listing already hands you this uri on each entry, so there is nothing to build by hand. A URI that already names a file in Files is accepted too — keep_file then answers with that file, unchanged.

Clone this wiki locally