AgentOutputType
type AgentOutputType<HandoffOutputType> = | TextOutput | ZodObject<any> | JsonSchemaDefinition| HandoffsOutput<HandoffOutputType>;
The type of the output object. If not provided, the output will be a string. ‘text’ is a special type that indicates the output will be a string.
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type | Description |
---|---|---|
|
The type of the output of the handoff. |