Server SDKs
Build AI agents, control calls, send messages, and more
Get the current date and time with optional timezone support.
Class: DateTimeSkill
DateTimeSkill
Tools: get_current_time, get_current_date
get_current_time
get_current_date
Env vars: None
No custom parameters. This skill inherits only the base parameters.
1import { AgentBase, DateTimeSkill } from '@signalwire/sdk';23const agent = new AgentBase({ name: 'assistant', route: '/assistant' });4agent.setPromptText('You are a helpful assistant.');5await agent.addSkill(new DateTimeSkill());67agent.run();