-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Is your feature request related to a problem? Please describe.
Having to write down the names of all arguments again and their description in the tool macro is annoying
Describe the solution you'd like
In python pydantic-ai for example just parses the docstring
@my_agent.tool
async def search_documents(query: str, max_docs: int):
"""Search documents for query.
Args:
query: The query to search
max_docs: Maximum documents to return
"""Can we do something similar here? Parse the doc comments instead for the tool spec
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels