store
[bot-storage] Durable key-value + file storage for your bot, shared by every key on your account. Survives sandbox restarts. Actions: get, set (value: any JSON, ttl_seconds?, if_version? for compare-and-set), incr (by?), delete, list (prefix?, after?, limit?), file_put (name, content_base64, content_type?), file_get, file_meta, file_delete, file_list, usage. ns = namespace (default "default"). Free: 100 MB, 100k items, values up to 256 KB, files up to 4 MB.
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": {
"action": "<action>"
},
"name": "store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| ns | No | ||
| key | No | ||
| name | No | ||
| after | No | ||
| limit | No | ||
| value | No | ||
| action | Yes | ||
| prefix | No | ||
| if_version | No | ||
| ttl_seconds | No | ||
| content_type | No | ||
| content_base64 | No |