Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_room | 通过斗鱼房间的ID获取斗鱼房间信息。
Get room information from DouYu by room ID.
Args:
room_id (int): 斗鱼房间ID。整数类型的ID被接受。
room_id (int): The ID of the DouYu room. A numeric ID is accepted. Like 71415.
Returns:
一个markdown表格,包含房间信息。
a Markdown table containing room information.
- 头像 URL 使用 image标签展示
- 房间ID
- 分区名
- 房间名
- 主播名
- 房间状态(直播中 or 未开播)
- 热度
- 房间封面图 URL 图片 使用 image标签展示 |
| search_rooms | 通过关键字搜索斗鱼房间。
Search for DouYu rooms by keyword.
Args:
keyword (str): 查询关键词。
keyword (str): The search keyword.
Returns:
一个markdown表格,包含房间信息。
a Markdown table containing room information.
- 分区名
- 是否直播('直播中' or '未开播')
- 关键词
- 主播昵称
- 房间 ID |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |