点赞 / 取消点赞
like_videoLikes or unlikes a Bilibili video by BV/av ID or URL; previews by default and executes only when confirm is true. Reversible.
Instructions
点赞或取消点赞视频。默认只预览,不执行;confirm=true 才真正发送请求。可逆。
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": {
"video": "<video>"
},
"name": "like_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| like | No | true 点赞,false 取消 | |
| video | Yes | 视频标识:BV 号、av 号或视频链接,例如 BV1xx411c7mD / https://www.bilibili.com/video/BV... | |
| confirm | No | 必须为 true 才执行 |