Ask to give a customer credits
request_grant_creditsAsks the founder to give one Live customer credits: their balance goes up by amount, and note is the line their credit history shows. test_member_credits does the same for a test member in Development, at once. This is a change to one customer, so it is your human's approval alone: they approve it in their browser, and no emailed code is asked. Nothing changes until they approve; approving it carries it out — Gemmein does it the moment they press Approve, once, and records what happened on their Logs. The approval page shows Gemmein's own sentence of the real effect, read against Live; a request that no longer matches Live when it is carried out is refused and nothing changes. Returns the approval link for your human and a handle: live_action_status with wait: true answers the moment it is done, or why not — never ask your human to tell you they approved. A second call asks again (a new approval).
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": {
"person": "<person>",
"amount": "<amount>",
"note": "<note>"
},
"name": "request_grant_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | one line saying why, up to 200 characters — what the customer's credit history shows | |
| amount | Yes | whole credits, 1–100,000 | |
| person | Yes | the Live customer: their email address or id (usr_…) — live_people lists them |