anon_patch_materials_resource_id
Edit a material resource by ID to change its name, type, description, or visibility; the API key identifies the project, and materials:manage permission is required.
Instructions
编辑资源。需 materials:manage 权限。 PATCH /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>",
"body": "<body>"
},
"name": "anon_patch_materials_resource_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |