list_training_credit_codes
Look up prepaid training-credit balances and remaining amounts. Search by tracking identifier or credit code to see credits used, total, and expiration behavior.
Instructions
Find prepaid training-credit balances and how much is left on them.
Different from a promo code: a promo code discounts a purchase, a training-credit
code carries a BALANCE that is spent down. `credits_used` against `credits_total`
says how much is left.
`tracking_identifier` is the customer-side reference, usually a PO or contract
number, and is the field to search when someone asks about "their credits".
`expire_content` says whether access bought with the credits expires when the
code does - a separate question from the balance running out.
Requires `CSA_SKILLJAR_V1_API_KEY`, a separate credential from the v2 client.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_training_credit_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| page_size | No | ||
| filter_tracking_identifier | No | ||
| filter_training_credit_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| page | No | ||
| rows | Yes | ||
| total | No | ||
| has_more | No | ||
| next_page | No |