Class InputOutputSchemaDemo
java.lang.Object
com.example.workflows.InputOutputSchemaDemo
A port of ADK Kotlin's input and output schema sample, which ports adk-python's
input_output_schema. A weather agent with input and output schemas runs in single-turn mode, so
its parent can call it as a tool that takes a city and returns structured weather information.-
Method Summary
-
Method Details
-
create
-
main
Asks about three cities in separate sessions and prints each message and tool call. It calls Gemini and requires the credentials described in the README; the first argument, if any, overrides the model.
-