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
Have you searched for related issues? Others may have had similar requests:Yes
Question
Does this library support setting up input formats for inputs to an agent.as_tool? When we rely only on the prompt to define what should be passed to the agent, it's not consistent and sometimes fails. In a typical tool call, I believe the arguments and type hints are parsed, and a Pydantic BaseModel is created, which then gets converted to a JSON schema—so the system understands what input is expected. Don't we have a similar option to define the input description and input schema when using an agent as a tool?
The text was updated successfully, but these errors were encountered:
Please read this first
Question
Does this library support setting up input formats for inputs to an agent.as_tool? When we rely only on the prompt to define what should be passed to the agent, it's not consistent and sometimes fails. In a typical tool call, I believe the arguments and type hints are parsed, and a Pydantic BaseModel is created, which then gets converted to a JSON schema—so the system understands what input is expected. Don't we have a similar option to define the input description and input schema when using an agent as a tool?
The text was updated successfully, but these errors were encountered: