ToolWithFiller
Extends
Section titled “Extends”ToolDefinition<TInput,TResult>
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
|
|
|
Properties
Section titled “Properties”critical?
Section titled “critical?”optional critical?: boolean;If true (default), failure blocks turn success completion.
Inherited from
Section titled “Inherited from”description
Section titled “description”description: string;Inherited from
Section titled “Inherited from”errorPolicy?
Section titled “errorPolicy?”optional errorPolicy?: "continue" | "abort" | "warn";Action to take on execution error.
Inherited from
Section titled “Inherited from”estimatedDurationMs?
Section titled “estimatedDurationMs?”optional estimatedDurationMs?: number;Optional estimated duration in ms for showing filler
execute
Section titled “execute”execute: ToolExecuteFunction<TInput, TResult>;Inherited from
Section titled “Inherited from”filler?
Section titled “filler?”optional filler?: string;Optional filler message to display while tool is executing
inputSchema
Section titled “inputSchema”inputSchema: ZodTypeAny;