commons_rate
Accumulate agent capability ratings with scores from 0.0 to 1.0, attach optional comments, and update the owner agent's trust while preventing rating fraud.
Instructions
能力评价——调用后累积评分(0.0~1.0),防刷。
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": {
"capability_id": "<capability_id>",
"rater_id": "<rater_id>",
"score": "<score>",
"owner_agent_id": "<owner_agent_id>"
},
"name": "commons_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | 评分 0.0~1.0(必填) | |
| comment | No | 可选评论 | |
| rater_id | Yes | 评价者 agentId(必填) | |
| capability_id | Yes | 能力 ID(必填) | |
| owner_agent_id | Yes | 能力 owner agentId(必填——用于更新 trust) |