LINKORA
OverviewQuickstart

Datetime

Give any model access to the current date and time

Beta

Beta Server tools are currently in beta. The API and behavior may change.

The linkora:datetime server tool gives any model access to the current date and time. This is useful for prompts that require temporal awareness: scheduling, time-sensitive questions, or any task where the model needs to know "right now."

Quick Start

const response = await fetch('https://link-ora.net/api/v1/responses', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer <LINKORA_API_KEY>',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'openai/gpt-5.2',
    input: 'What day of the week is it today?',
    tools: [
      { type: 'linkora:datetime' }
    ]
  }),
});

const data = await response.json();
const message = [...data.output].reverse().find((item: { type: string }) => item.type === 'message');
console.log(message?.content.find((part: { type: string; text?: string }) => part.type === 'output_text')?.text);

Configuration

The datetime tool accepts an optional timezone parameter:

{
  "type": "linkora:datetime",
  "parameters": {
    "timezone": "America/New_York"
  }
}
ParameterTypeDefaultDescription
`timezone`string`UTC`IANA timezone name (e.g. `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`)

Response

When the model calls the datetime tool, it receives a response like:

{
  "datetime": "2025-07-15T14:30:00.000-04:00",
  "timezone": "America/New_York"
}

Pricing

The datetime tool has no additional cost beyond standard token usage.

Next Steps