addedInput schema / properties / admin_key / description
Added value: +"The deployment's VHGENGINE_ADMIN_KEY. Required ONLY when the operator configured one; omit on a self-serve deployment. A wrong or missing value where one is configured is unauthorized."
addedInput schema / properties / amount / description
Added value: +"Credits to add, 1-10000. Charged operations spend these; see pricing for the per-mode cost. The grant also has a per-account balance ceiling, so a large top-up on a full balance is invalid_request."
addedInput schema / properties / amount / maximum
Added value: +10000
addedInput schema / properties / amount / minimum
Added value: +1
addedInput schema / properties / api_key / description
Added value: +"API key for this call. Omit to fall back to the Authorization: Bearer / X-API-Key request header (streamable-HTTP only), then the VHGENGINE_API_KEY env var (the stdio default). No key resolvable -> unauthorized."
addedInput schema / properties / idempotency_key / description
Added value: +"Caller-chosen replay key (any string, unique per intended effect). A repeat call with the SAME key returns the stored result and is NEVER charged twice; the same key with different arguments is an idempotency_conflict. Omit and every call is a fresh, separately charged operation."
addedOutput schema / description
Added value: +"The new balance after a top-up."
addedOutput schema / properties
Added value: +{
+ "credits": {
+ "description": "Balance AFTER the grant.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "granted": {
+ "description": "Credits added by this call; 0 on an idempotent replay.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "replayed": {
+ "description": "true when an earlier call with the same idempotency_key already granted.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+}
removedOutput schema / title
Removed value: -"add_creditsDictOutput"