DateTimeSkill

View as MarkdownOpen in Claude

Get the current date and time with optional timezone support.

Class: DateTimeSkill

Tools: get_current_time, get_current_date

Env vars: None

No custom parameters. This skill inherits only the base parameters.

import { AgentBase, DateTimeSkill } from '@signalwire/sdk';
const agent = new AgentBase({ name: 'assistant', route: '/assistant' });
agent.setPromptText('You are a helpful assistant.');
await agent.addSkill(new DateTimeSkill());
agent.run();