Open
Description
Please read this first
- Have you read the docs?Agents SDK docs :yes
- 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?