AgentDefinition
type AgentDefinition<T, H> = AgentConfig<H> & object;Defined in: agents/src/types.ts:533
T is this agent’s output. H is its handoff targets’ output, never checked as T.
Type Declaration
Section titled “Type Declaration”output?
Section titled “output?”optional output?: ResultSchema<T>;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
string |
H |
never |