Mint an API key (session only)
apiKeys_createMint a session-only API key with required scopes and optional expiration, client ID, or guardrails; set confirm to true to execute, otherwise return a request preview.
Instructions
Mint an API key (session only) (POST /v1/api-keys). WRITE: not executed unless confirm: true (this operation has no server-side dry run).
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": {
"body": "<body>"
},
"name": "apiKeys_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| confirm | No | Set true to execute. Without it nothing is sent and a preview of the request is returned. | |
| idempotencyKey | No | Idempotency-Key; generated when omitted |