anon_delete_materials_resource_id
Delete a materials resource and all its versions and files by resourceId. Requires materials:manage permission; the project is determined by the current API key.
Instructions
删除资源。需 materials:manage 权限。删除资源及其全部版本与文件。 DELETE /api/projects/{id}/materials/{resourceId} 项目由当前 API 密钥自动确定,无需传 projectId。
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": "<path>"
},
"name": "anon_delete_materials_resource_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |