Add provider credits
add_creditsRecords credits from an AI provider. kind is prepaid (paid for, an asset) or promotional (free). Dates are YYYY-MM-DD. Needs an owner, admin or finance member.
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": {
"provider": "<provider>",
"amount_usd": "<amount_usd>",
"granted_on": "<granted_on>"
},
"name": "add_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | prepaid | |
| note | No | ||
| provider | Yes | ||
| amount_usd | Yes | ||
| expires_on | No | ||
| granted_on | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||