List API keys
list_keysList this account's API keys, active first and newest first, with id, label, mode, scope, masked display, and timestamps. The key itself is never returned, so you can audit access safely.
Instructions
List this account's API keys, active first, newest first. Never the key itself: each entry has id, label, mode (live or test), scope (read, write or admin), display (e.g. "wc_live_...a1b2"), created_at, last_used_at, revoked_at and expires_at (null = never; keys from an OAuth connection expire after 1 hour).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| result | Yes | ||
| status | No | ||
| changes | No | ||
| dry_run | No | ||
| message | No | ||
| error_code | No |