Build a clickable 408os 刷题 page URL (`https://www.408os.cn/exercise?...`)
408os_get_exercise_urlBuilds an authoritative 408OS practice URL for a question or full-year paper, resolving the global question ID from a question ID or year plus index for Anki/SiYuan references.
Instructions
Builds the authoritative 408os practice link for a question (or a full year paper when only year is given).
Accepts either question_id or year + question_index, resolving the global question_id needed by /exercise.
Use this URL whenever attaching 408OS references to Anki cards or SiYuan notes.
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": "408os_get_exercise_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Exam year (2009-2026). | |
| question_id | No | Global 408os `question_id`. | |
| offline_only | No | Skip CLI verification and compute past-exam IDs purely locally (default false). | |
| question_index | No | Question number within that year’s paper (1-47). |