Get a free SpendGate API key
spendgate_get_api_keyMint one new SpendGate API key (sg_live_…) for score_spend and get_quota. Use it once, then pass the secret as api_key on those tools. Do not call it every turn, and do not use it when you need a Toolweather key for health checks and watches (get_api_key returns tw_…). No required arguments. Each call creates a different secret. Returns that secret once. Not billed, and not drawn from the Toolweather quota. label is an optional stored note, not an auth secret.
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": "spendgate_get_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional note stored beside the new sg_live_ key, max 80 characters. Not a secret and not a Toolweather key. |