share_rate_material
Rate shared materials as like or hate, and cancel an existing rating by setting liked to false.
Instructions
点赞/点踩资料;rating=like/hate,liked=false 表示取消。
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": {
"material_id": "<material_id>",
"rating": "<rating>"
},
"name": "share_rate_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| liked | No | ||
| rating | Yes | ||
| material_id | Yes | 平台对象 ID,正整数 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||