getVerbDescription

View as MarkdownOpen in Claude

Get the description text for a verb from the schema.

Parameters

verbName
stringRequired

The verb name.

Returns

string — The description string, or empty string if not found.

Example

1import { SchemaUtils } from '@signalwire/sdk';
2
3const schema = new SchemaUtils();
4const desc = schema.getVerbDescription('answer');
5console.log(desc);