Interface: AgentAsToolOptions<TAgent>
openaiAgentsWorkflow.AgentAsToolOptions
Type parameters
| Name | Type |
|---|---|
TAgent | extends Agent<any, any> |
Properties
customOutputExtractor
• Optional customOutputExtractor: (result: RunResult<any, TAgent>) => string | Promise<string>
Type declaration
▸ (result): string | Promise<string>
Parameters
| Name | Type |
|---|---|
result | RunResult<any, TAgent> |
Returns
string | Promise<string>
toolDescription
• Optional toolDescription: string
toolName
• toolName: string