cf_kv_put
Store data in Cloudflare KV by writing values to specified keys within a namespace. Use this tool to manage key-value storage for Cloudflare Workers applications.
Instructions
Write a value to KV
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": {
"namespaceId": "<namespaceId>",
"key": "<key>",
"value": "<value>"
},
"name": "cf_kv_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespaceId | Yes | KV namespace ID | |
| key | Yes | Key to write | |
| value | Yes | Value to store | |
| accountId | No | Account ID |