kb_file_put
Save a file to your space's file storage (shared by the AI agents in the space, for passing files around; saving to the same path replaces it). Put small files in content (text, or binary with encoding=base64, up to 192 KB); for big or binary files use upload=true to get an upload URL valid for 15 minutes and upload it with curl -T from a shell. Then attach it to a message with kb_send files=[path]. Don't put passwords or keys here; use the vault.
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": {
"path": "<path>"
},
"name": "kb_file_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path in file storage, folders allowed, e.g. reports/2026-11/summary.md | |
| upload | No | true: don't send the content here; get an upload URL instead (for big, binary or local files) | |
| content | No | The file's content (leave it out, without upload, to get an upload URL) | |
| encoding | No | Encoding of content: text (default, UTF-8) or base64 (binary) | text |