Is this key safe to expose?
check_key_exposureClassify an API key prefix as public-by-design or secret, then get the next step to rotate secrets before exposure.
Instructions
Classify an API key as public-by-design (e.g. Supabase anon/publishable, Stripe pk_) or secret (e.g. sk_live_, service_role, sk-ant-), offline from its format, and say what to do next (rotate first if secret). Pass ONLY the prefix (first 8-15 characters), never the whole key. No network calls; the full key is never echoed back.
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_or_prefix": "<key_or_prefix>"
},
"name": "check_key_exposure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_or_prefix | Yes | The first few characters of the key, e.g. 'sk_live_' or 'sb_publishable_'. A prefix is enough. |