bilibili-comment
Fetch comments from Bilibili videos using a URL or BV ID. Control pagination, result count, and sort by popularity or time.
Instructions
获取B站视频评论,异步任务自动轮询结果
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": {
"url": "<url>"
},
"name": "bilibili-comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | B站视频链接或BV号 | |
| offset | No | 分页游标 | |
| dataNum | No | 获取评论数量 | |
| sortType | No | 排序:2=按热度, 1=按时间 | 2 |