get_subscription_plan
Retrieve a subscription plan's details by its ID. Use this read-only lookup to fetch plan data for reporting or verification without changing anything.
Instructions
🟢 READ-ONLY · GET /v2/subscription-plans/{id}
Get subscription plan. Returns the subscription plan specified by the provided subscription plan id.
Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx.
Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload — 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input.
Use when: safe to call speculatively for lookups and reporting. Not for changing anything — use the matching 🟡 write tool. Related Subscription plans tools: get_list_subscription_plans.
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": {
"id": "<id>"
},
"name": "get_subscription_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Subscription plan Id |