Get commerce status
get_commerce_statusPurchase and subscription state for the learner, including which products would unlock the requested chapter and the matching shop links.
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": "get_commerce_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_number | No | Book within the level. Defaults to the user's current book. | |
| ui_language | No | Default 'en'. | |
| language_pair | No | e.g. 'en_de'. Defaults to the user's current pair. | |
| chapter_number | No | ||
| language_level | No | CEFR level: A1, A2, B1, B2, C1, C2. Defaults to the user's current level. |