kv_list_keys
List keys in a Cloudflare KV namespace with optional prefix filtering. Retrieve up to 1000 keys per request to manage stored data.
Instructions
List keys in a KV namespace, optionally filtered by prefix.
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>"
},
"name": "kv_list_keys"
}
}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. | |
| prefix | No | Filter keys by prefix. | |
| limit | No | Max keys (default 1000). |