You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keyword: Annotated[str, Field(description="Keyword to search for protocols")],
158
158
page: Annotated[int, Field(description="Page number for pagination, starting from 1")] =1,
159
159
) ->ProtocolSearchResult|ErrorMessage:
160
-
"""Search for public protocols on protocols.io using a keyword."""
160
+
"""
161
+
Search for public protocols on protocols.io using a keyword. Results are sorted by protocol popularity and paginated with 3 protocols per page (use the page parameter to navigate, default is 1).
162
+
163
+
When searching for reference protocols to create a new protocol:
164
+
- Avoid referencing protocols from before 2015 as they may be outdated.
165
+
- If the found protocols have topics that are not closely related to your needs, ask the user for clearer direction before proceeding.
166
+
- If the found protocols are highly relevant, use get_protocol_steps to examine at least 2 protocols' detailed steps and integrate insights from different approaches to ensure more reliable protocol development.
167
+
"""
161
168
page=page-1# weird bug in protocols.io API where it returns page 2 if page 1 is requested
title: Annotated[str, Field(description="Title of the new protocol")],
206
219
description: Annotated[str, Field(description="Description of the new protocol")],
207
220
) ->Protocol|ErrorMessage:
208
-
"""Create a new protocol with the given title and description."""
221
+
"""
222
+
Create a new protocol with the given title and description.
223
+
224
+
Before creating a new protocol, ensure you have searched for at least 2 relevant public protocols using search_public_protocols and reviewed their detailed steps with get_protocol_steps for reference when adding steps.
0 commit comments