删除资源
cloudclass_delete_resourcePermanently deletes a courseware resource and its files after explicit confirmation; require confirm=true to prevent irreversible removal.
Instructions
Permanently delete a resource and its files. Only call after the user explicitly confirms; confirm must be true.
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": {
"resource_id": "<resource_id>",
"confirm": "<confirm>"
},
"name": "cloudclass_delete_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | 必须显式设为 true 才会删除,无法恢复 | |
| resource_id | Yes | 资源 ID,例如 r_xxx |