修正错题
update_problemCorrect or modify a problem's text, tags, choices, and metadata. Uses expected_version for conflict detection; on version mismatch, re-read the latest problem and apply changes again.
Instructions
修正 OCR 文本、标签等内容。必须传入读取时获得的 expected_version,冲突时重新读取,编号不会改变。
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": {
"number": "<number>",
"patch": "<patch>",
"expected_version": "<expected_version>",
"reason": "<reason>",
"idempotency_key": "<idempotency_key>"
},
"name": "update_problem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| number | Yes | ||
| reason | Yes | ||
| idempotency_key | Yes | ||
| expected_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||