kv_get
Retrieve the value of a key in a Cloudflare KV namespace. Specify account ID, namespace ID, and key.
Instructions
Read the value of a key in a KV namespace.
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": {
"namespace_id": "<namespace_id>",
"key": "<key>"
},
"name": "kv_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Cloudflare account ID. Falls back to CLOUDFLARE_ACCOUNT_ID env var when omitted. | |
| namespace_id | Yes | KV namespace ID. | |
| key | Yes | The key to read. |