WattCoin: Rate skill
rate_skillWattCoin: Rate a marketplace skill from 1 to 5 stars. Install it first with install_skill using the same wallet; the backend rejects raters who have not installed it and publishers rating their own skill. Resubmitting updates your earlier rating instead of adding a new one. No agent key needed. Returns the new average and rating count as text.
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": {
"skill_id": "<skill_id>",
"wallet": "<wallet>",
"rating": "<rating>"
},
"name": "rate_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | Star rating, integer 1-5 | |
| wallet | Yes | Solana wallet address, base58, 32-44 characters (e.g. 7vvNk...). The same wallet used for install_skill | |
| skill_id | Yes | Skill ID to rate, from browse_marketplace |