v7
This commit is contained in:
parent
01d5c1ac6a
commit
39951de3c3
1 changed files with 0 additions and 23 deletions
23
main.py
23
main.py
|
@ -236,29 +236,6 @@ class Tools:
|
||||||
__user__=__user__
|
__user__=__user__
|
||||||
)
|
)
|
||||||
|
|
||||||
async def get_bookmarks_by_tag(
|
|
||||||
self,
|
|
||||||
tags: str,
|
|
||||||
limit: int = 20,
|
|
||||||
__user__: Optional[dict] = None
|
|
||||||
) -> str:
|
|
||||||
"""
|
|
||||||
Get bookmarks filtered by tags
|
|
||||||
|
|
||||||
Args:
|
|
||||||
tags: Comma-separated list of tags
|
|
||||||
limit: Number of results to return (default: 20)
|
|
||||||
"""
|
|
||||||
|
|
||||||
if not tags:
|
|
||||||
return "Error: tags parameter is required."
|
|
||||||
|
|
||||||
return await self.get_bookmarks(
|
|
||||||
limit=limit,
|
|
||||||
tags=tags,
|
|
||||||
__user__=__user__
|
|
||||||
)
|
|
||||||
|
|
||||||
async def get_labels(
|
async def get_labels(
|
||||||
self,
|
self,
|
||||||
__user__: Optional[dict] = None
|
__user__: Optional[dict] = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue