Switch Duolingo Course
duolingo_switch_courseSwitch the authenticated Duolingo user's active course to another enrolled language so course-specific topics, skills, and words can be read. Changes the account until switched back.
Instructions
Switches the authenticated user's active course to another language course they are enrolled in. Duolingo returns topics, skills and words only for the active course, so switch first to read another one with the topic tools. This changes the account: the Duolingo apps and website continue with the new course. Switching back undoes it. Find the courses with duolingo_get_courses. Call it only when the user asks to switch or agrees to it. Returns the new active course.
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": {
"language_abbr": "<language_abbr>"
},
"name": "duolingo_switch_course"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_language | No | Language the course is taught in (e.g. 'en'). Only needed when the user learns the language from more than one language. | |
| language_abbr | Yes | Language to switch to (e.g. 'es' for Spanish). | |
| response_format | No | Output format: 'markdown' or 'json'. | markdown |