Fetch Luogu Problem
luogu_fetch_problemFetches problem statement, samples, tags, difficulty, and source URL from Luogu by problem ID.
Instructions
Fetch a Luogu problem statement, formats, samples, tags, difficulty, and source URL by pid.
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": {
"pid": "<pid>"
},
"name": "luogu_fetch_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Luogu problem id, such as P1305. | |
| maxStatementChars | No | Trim long statements for model context control. |