anon_post_materials
Create project materials via JSON or multipart requests, with optional files up to 20MB, first-version notes, and automatic WebP thumbnails for bitmap images.
Instructions
创建资源。需 materials:manage 权限。支持 JSON 与 multipart 两种请求体;multipart 附带 file(可选,≤20MB,上传即创建版本 1)与 note(首版本备注),位图文件自动生成 WebP 缩略预览。 POST /api/projects/{id}/materials 项目由当前 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": {
"body": "<body>"
},
"name": "anon_post_materials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |