phaseo:datetimeを使います。
ツールを呼び出すタイミングはモデルが判断します。Phaseoは解決済みのタイムゾーンと現在のタイムスタンプをモデルに返し、その後モデルが最終回答を作成します。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
1つ以上のタイムゾーンで現在の日付と時刻をモデルに提供します。
phaseo:datetimeを使います。
ツールを呼び出すタイミングはモデルが判断します。Phaseoは解決済みのタイムゾーンと現在のタイムスタンプをモデルに返し、その後モデルが最終回答を作成します。
curl https://api.phaseo.app/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5-nano",
"messages": [
{ "role": "user", "content": "What day of the week is it in Tokyo?" }
],
"tools": [
{
"type": "phaseo:datetime",
"parameters": {
"timezones": ["Asia/Tokyo", "UTC"]
}
}
]
}'
{
"type": "phaseo:datetime",
"parameters": {
"timezones": ["Europe/London", "UTC"]
}
}
| パラメーター | 型 | デフォルト | 説明 |
|---|---|---|---|
timezones | string[] | ["UTC"] | ツール呼び出し1回で返すIANAタイムゾーン名(最大5つ)。例:["Europe/London", "UTC"]。 |
{
"timezones": [
{
"timezone": "Europe/London",
"datetime": "2026-07-03T10:00:00.123+01:00"
},
{
"timezone": "UTC",
"datetime": "2026-07-03T09:00:00.123+00:00"
}
]
}
{
"usage": {
"server_tool_use": {
"datetime_requests": 1
}
}
}