Upvote
voteUpvote (or remove an upvote from) a WhatWorks thread (target_type "topic"), package, comment or request. Upvote means "useful"; it is not a trial result. Only with the user's OK.
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": {
"target_type": "<target_type>",
"target": "<target>"
},
"name": "vote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | ||
| target | Yes | Slug for threads (topics) and packages, id for comments and requests. | |
| target_type | Yes |