replace_mastery_outline
Replace a mastery path outline with an approved module set, preserving existing IDs and verifying revision before saving. For authorized writes only.
Instructions
WARNING: Changes stored DeepTutor learning data. Check the target ID and values; call only when the learner explicitly requests this action. Replace the full outline after review; preserves IDs supplied in modules and checks revision
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": {
"path_id": "<path_id>",
"expected_revision": "<expected_revision>",
"modules": "<modules>",
"confirm": "<confirm>"
},
"name": "replace_mastery_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Set true when this write is authorized by the current user request | |
| modules | Yes | Complete modules array in DeepTutor ModuleInput shape | |
| path_id | Yes | Mastery path ID | |
| expected_revision | Yes | Revision read from get_mastery_path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | 原始 DeepTutor 工具返回值;其具体字段由对应 DeepTutor API 决定。 |