example = data_model.Company(name="WW International Inc., formerly Weight Watches International, Inc.", ticker="WW", latest_price=23.3) return Agent( model=WORKER_MODEL, name=f"{output_key}_agent", generate_content_config=create_model_settings(), description="Finds company info", instruction=""" Get company information for {ticker}. If the company is commonly known by another name, provide that name also. """ + f"Example output: {example.model_dump_json()}", output_key=output_key, # result will be in state[output_key] tools=[ FunctionTool(tools.get_stock_price_mock), ], )