Get UPSC previous-year questions by year
get_pyq_sampleReal UPSC Prelims previous-year questions with answers and explanations — the free 3-question sample per year (full year papers are on the platform). Includes the year's total validated PYQ count.
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": {
"year": "<year>"
},
"name": "get_pyq_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | UPSC Prelims year | |
| language | No | ISO code: en, hi, te, ta, or, bn, mr, pa, kn | en |