attach_course_resource
Attach an existing book, knowledge base, notebook, or other supported resource to a course when the learner requests it.
Instructions
WARNING: Changes stored DeepTutor learning data. Check the target ID and values; call only when the learner explicitly requests this action. Attach an existing book, knowledge base, notebook or other supported resource to a course
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": {
"course_id": "<course_id>",
"kind": "<kind>",
"ref_id": "<ref_id>",
"confirm": "<confirm>"
},
"name": "attach_course_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Resource kind from list_course_resource_candidates | |
| label | No | Display label | |
| ref_id | Yes | Existing resource ID | |
| confirm | Yes | Set true when this write is authorized by the current user request | |
| course_id | Yes | Course ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | 原始 DeepTutor 工具返回值;其具体字段由对应 DeepTutor API 决定。 |