Get package purchase
get_package_purchaseReads a package that your user bought, by the token at the end of its /pkg link. It gives what it books, how many sessions are left, and link, with handle and slug, to book with. Call book with that link and package_token.
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": {
"package_token": "<package_token>"
},
"name": "get_package_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_token | Yes | The token at the end of the package link, /pkg/{token}. |