구조화된 출력을 위해 UI 에이전트에 프롬프트를 제공하는 예시입니다.

목표에서 필요한 출력 구조를 정의합니다.

예시 1: 에이전트가 출력 구조를 자체적으로 결정하도록 합니다.
Create a new invoice with the data: <data>. Return the Reference Number as a JSON.

예시 2: 프롬프트에 스키마를 지정하고 에이전트가 이에 따라 출력 형식을 지정합니다.
Open the product pricing page for “Pro Plan” in the web app. Extract pricing into the JSON schema below.
{
  "plan_name": "",  
  "currency": "", 
  "price": {  
    "monthly": "", 
    "annual": ""  
  },  
  "included_limits": [    
    {"name": "",   "value": ""}
  ]
}

예시 3: 실행 작업에서 출력 데이터 유형의 형식을 지정합니다.
Goal: get current weather in San Francisco
Output format JSON: {"temperature": "int", "unit": "str", "rain": "bool"}
주: 출력 형식 JSON은 중첩된 JSON 구조를 지원하지 않습니다.