ToolDeclaration
Backend-agnostic tool declaration. Produced by capabilities, consumed by adapters (Gemini, AI SDK, LiveKit).
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
|
|
|
Properties
Section titled “Properties”description
Section titled “description”description: string;execute
Section titled “execute”execute: (args, options?) => Promise<TOutput>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<TOutput>
name: string;parameters
Section titled “parameters”parameters: ZodTypeAny;voiceDirective?
Section titled “voiceDirective?”optional voiceDirective?: object;Optional voice-only directive metadata (flow toolHints preSpeech).
| Name | Type |
|---|---|
|
|
|
|
|
|