DateTimeSkill

View as MarkdownOpen in Claude

Get the current date and time with optional timezone support.

Class: DateTimeSkill

Tools: get_datetime

Env vars: None

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

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