add_credits
OWNER ONLY: add credits to a customer's key after payment is received.
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": {
"api_key": "<api_key>",
"target_key": "<target_key>",
"credits": "<credits>"
},
"name": "add_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | paid | |
| api_key | Yes | ||
| credits | Yes | ||
| target_key | Yes |