cf_kv_get
Retrieve a Workers KV key's value, metadata, and expiration from a specified namespace by ID or title. Use it to inspect stored key details through cloudflare-mcp.
Instructions
Read one key (value + metadata + expiration) from a Workers KV namespace by namespace id or namespace title.
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": {
"key": "<key>",
"namespace": "<namespace>"
},
"name": "cf_kv_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| namespace | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| result | No |