get_favorite_folders
Retrieve the logged-in account's favorite folder list with folder IDs and names; pass username for Cookie-only HTML clients. Use folder ID "0" to query all favorites.
Instructions
获取已登录账户的收藏夹目录。
参数: username: HTML 客户端仅配置 Cookie(未设置 auth.username)时必须提供用户名; 通过 login 登录或配置顶层 auth 后可省略。API 客户端忽略此参数,始终查询当前登录账户。
返回: folders: 收藏夹列表,每项包含字符串 id 和 name;无收藏夹时为空列表。 查询全部收藏时使用 folder_id="0",该值不一定出现在目录中。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_favorite_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||