Add or deduct credits
add_creditsAdd credits to a user's balance (use a negative number to deduct). Changes the numeric credits custom field in the user's source system. Confirm the amount with the person you are helping first.
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": {
"user_id": "<user_id>",
"amount": "<amount>"
},
"name": "add_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Name of the numeric custom field. Default: credits. | |
| amount | Yes | Whole number, non-zero, at most 1,000,000 either way. | |
| user_id | Yes | The user's id in your app (preferred) or the VibeAdmin id from list_users. |