add_favorite_album
将本子加入当前登录账户的收藏夹,需要有效的登录会话或 Cookie。 本子已在收藏中时返回 error,且不会改变收藏状态。
Instructions
将本子加入当前登录账户的收藏夹,需要有效的登录会话或 Cookie。 本子已在收藏中时返回 error,且不会改变收藏状态。
参数: album_id: 本子 ID,也支持 JM 前缀或本子链接。
返回: status: "success" 或 "error"。 album_id: 本子 ID,成功解析后为纯数字字符串。 title: 本子标题,未能读取时为空字符串。 message: 上游结果消息或错误说明。
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": {
"album_id": "<album_id>"
},
"name": "add_favorite_album"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||