cf_add_kv_storage
Add Cloudflare KV storage to a Worker by binding a namespace and generating helper utilities for get, put, delete, and list operations.
Instructions
Add Cloudflare KV namespace bindings and helper utilities to a Worker
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": {
"worker_name": "<worker_name>",
"namespace": "<namespace>",
"operations": "<operations>"
},
"name": "cf_add_kv_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| namespace | Yes | KV namespace name | |
| operations | Yes | KV operations to scaffold | |
| worker_name | Yes | Worker name |