Create API key
create_keyIssues an API key and returns it in plaintext once; only its hash is stored. Specify read, write, or admin scope and live or test mode, limited to the calling key's permissions.
Instructions
Create an API key and return it in plaintext (api_key) once; only its hash is stored, so hand it to the user right away. scope: read (only GET), write (also changes webinars, registrants, live tools) or admin (also keys, webhooks, account settings, approving follow-ups). Default scope and mode: the ones of the key making this call; a key never creates a key above its own scope (insufficient_scope) and only a live key creates a live key. Example: {"label": "Reporting bot", "scope": "read"}.
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": "create_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | live or test; default the mode of the calling key | |
| label | No | Name for the key, e.g. "Zapier" or "Reporting bot" | |
| scope | No | read, write or admin; default the scope of the calling key, never higher | |
| dry_run | No | true: validate and show what would happen without changing anything | |
| idempotency_key | No | Any unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| result | Yes | ||
| status | No | ||
| changes | No | ||
| dry_run | No | ||
| message | No | ||
| error_code | No |