Server SDKs
Build AI agents, control calls, send messages, and more
Set the function description shown to the AI when deciding which tool to call. description() is an alias for this method.
description()
Human-readable description of what this function does.
DataMap — Self for method chaining.
DataMap
1import { DataMap } from '@signalwire/sdk';23const dm = new DataMap('get_weather');4dm.purpose('Look up current weather for a city');