Write a file into a briq
briq_files_putUpload a file (base64, 1 MB per call) into a running briq. Creates parent directories; the file stays on its disk across stops and restarts. The answer gives the SHA-256 of the bytes written, checked inside the briq when its image has sha256sum: compare it with the digest of your own copy. Base64 that was cut short is refused. A file its command needs to start belongs in files of briq_run instead: a briq whose command fails without it never gets far enough for an upload. A larger file goes as raw bytes, which a tool call cannot carry: ask the person to run briq files-put (the CLI), or fetch it from inside the briq with briq_exec (git clone, curl); briq_quota gives the largest file the raw route takes (maxFileBytes). Code on GitHub runs with a language recipe's checkout. path is in the briq's own filesystem; reference: https://briq.cloud/docs/mcp/tools#briq_files_put--briq_files_get
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"briq": "<briq>",
"path": "<path>",
"contentBase64": "<contentBase64>"
},
"name": "briq_files_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| briq | Yes | ||
| path | Yes | absolute path inside the briq | |
| contentBase64 | Yes |