datetime Server Tool은 모델에 현재 날짜와 시간을 제공합니다.
빠른 시작
구성
도구 응답 형식
사용 사례
일정 계획 및 관리:가격
datetime 도구는 무료입니다——일반 LLM Token 비용 외 추가 요금이 없습니다.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
현재 날짜와 시간을 모델 컨텍스트에 주입합니다. datetime Server Tool은 시스템 프롬프트 해킹 없이 모델이 정확한 시간 인식을 갖도록 합니다.
datetime Server Tool은 모델에 현재 날짜와 시간을 제공합니다.
{
"model": "openai/gpt-5.4",
"messages": [{"role": "user", "content": "What day of the week is today, and how many days until the end of the year?"}],
"tools": [{"type": "arouter", "arouter": {"id": "datetime"}}]
}
| 매개변수 | 유형 | 기본값 | 설명 |
|---|---|---|---|
id | string | — | "datetime" 이어야 합니다 |
timezone | string | "UTC" | IANA 시간대 식별자 (예: "America/New_York", "Asia/Shanghai", "Europe/London") |
{
"datetime": "2026-04-03T14:32:00Z",
"date": "2026-04-03",
"time": "14:32:00",
"timezone": "UTC",
"day_of_week": "Friday",
"unix_timestamp": 1775319120
}
response = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[{"role": "user", "content": "Create a 2-week project plan starting from today."}],
tools=[{"type": "arouter", "arouter": {"id": "datetime", "timezone": "Asia/Shanghai"}}],
)
datetime 도구는 무료입니다——일반 LLM Token 비용 외 추가 요금이 없습니다.