tesi_claim_key
Create or redeem a reusable tesi_ak_... bearer key from a free $2.50 no-card trial (trial: true), completed Stripe sessionId, or giftCode, and auto-bind the current Mcp-Session-Id for 24h. Returns JSON with apiKey, keyId, funding source, creditCents, and sessionAuthenticated flag. Example: {"trial": true, "label": "my-agent"}.
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": "tesi_claim_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional human-readable label for the minted bearer key. | |
| trial | No | Set true to mint a free $2.50 USD trial key with no credit card (1 per subnet per 30 days). | |
| preview | No | Set true with trial or giftCode to check eligibility/credit amount without claiming. | |
| giftCode | No | Issued promotional gift code to preview or redeem without a card. | |
| sessionId | No | Completed Stripe Checkout session ID (cs_live_...) from tesi_prepare_purchase. | |
| purchaseId | No | Matching 64-hex purchaseId passed to tesi_prepare_purchase for idempotent recovery. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | No | ||
| apiKey | No | ||
| status | No | ||
| funding | No | ||
| eligible | No | ||
| remoteMcpUrl | No | ||
| sessionAuthenticated | No |