read_kv_value
Retrieve stored data from Cloudflare Workers KV storage by specifying the namespace and key to access your application's persistent data.
Instructions
Read a value from Workers KV storage by key. Returns the stored value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Account ID (uses default from config if not provided) | |
| namespace_id | Yes | The KV namespace ID | |
| key | Yes | The key to read |
Input Schema (JSON Schema)
{
"properties": {
"account_id": {
"description": "Account ID (uses default from config if not provided)",
"type": "string"
},
"key": {
"description": "The key to read",
"type": "string"
},
"namespace_id": {
"description": "The KV namespace ID",
"type": "string"
}
},
"required": [
"namespace_id",
"key"
],
"type": "object"
}