Documentation Index
Fetch the complete documentation index at: https://docs.arouter.ai/llms.txt
Use this file to discover all available pages before exploring further.
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 비용 외 추가 요금이 없습니다.
다음 단계