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

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