Submit a 1–5 star review for an agent, prompt, or tool
post_reviewsSubmit a 1–5 star review for an agent, prompt, or tool Calls POST /api/reviews on swarms.world with your API key.
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": {
"model_id": "<model_id>",
"model_type": "<model_type>",
"rating": "<rating>",
"comment": "<comment>"
},
"name": "post_reviews"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | Yes | Star rating, integer 1–5 | |
| comment | Yes | Review text (min 2 characters) | |
| model_id | Yes | ID of the agent/prompt/tool | |
| model_type | Yes |