QuestionQ32
VerifiedPrompt Engineering & Structured OutputYour get_portfolio_value tool returns the overall value of a user’s investment portfolio. You are choosing between returning a structured JSON object with explicit fields or returning the information as a formatted text string. What is the main advantage of using structured output with defined fields?
Community Discussion