Allocate Credits
allocate_creditsAllocate credits of a specific type to a client. Includes optional notes and source for tracking.
Instructions
Allocate credits to a client.
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": {
"client_id": "<client_id>",
"credit_type": "<credit_type>",
"amount": "<amount>"
},
"name": "allocate_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes | |
| amount | Yes | Number of credits | |
| source | No | Source (e.g. bonus) | |
| client_id | Yes | Client ID | |
| credit_type | Yes | Credit type |