From bb2d8f0585a243d1f552681b6853cc4f10011787 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 5 Jun 2025 16:20:18 -0400 Subject: [PATCH] v4 --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index c1b68fd..4a48a23 100644 --- a/main.py +++ b/main.py @@ -63,7 +63,7 @@ class Tools: offset: int = 0, collection_id: Optional[str] = None, search: Optional[str] = None, - tags: Optional[str] = None, + labels: Optional[str] = None, __user__: Optional[dict] = None ) -> str: """ @@ -74,7 +74,7 @@ class Tools: offset: Number of bookmarks to skip (default: 0) collection_id: Filter by collection ID search: Search query for bookmark titles/content - tags: Comma-separated list of tags to filter by + labels: Comma-separated list of labels to filter by """ if not self.valves.readeck_url or not self.valves.api_token: @@ -90,8 +90,8 @@ class Tools: params["collection_id"] = collection_id if search: params["q"] = search - if tags: - params["tags"] = tags + if labels: + params["labels"] = labels # Make request to Readeck API result = self._make_request("/bookmarks", params)