Start buying a course
buy_courseSIDE EFFECT: opens a checkout for one of Mike Fluff's paid courses and records the user as a lead. Returns a payment link (billing's hosted page; works without signing in) and the price in the currency for the locale. Nothing is charged until the user pays on that page; after payment the course access link is emailed to the given address. Courses: parasites (parasites-course), freeMini (vibe-coding-course), contentFactory (content-factory-course). Only call when the user has asked to buy and given the email the course should go to — or leave the email out to use the account of the person signed in with INITE ID (OAuth scope "mikefluff:purchase"; with that scope the course is also attached to their account). Give the user the payment link; do not try to pay.
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": {
"course": "<course>",
"locale": "<locale>"
},
"name": "buy_course"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional: the user's name. | |
| No | The user's email; the access link is sent there after payment. Omit to use the signed-in account's. | ||
| course | Yes | Course key or slug. | |
| locale | Yes | Language and currency of the checkout. |