ToolUseBehavior
이 콘텐츠는 아직 번역되지 않았습니다.
type ToolUseBehavior = | ToolUseBehaviorFlags | { stopAtToolNames: string[];} | ToolToFinalOutputFunction;
The behavior of the agent when a tool is called.
Type Declaration
Section titled “Type Declaration”{ stopAtToolNames: string[];}
stopAtToolNames
Section titled “stopAtToolNames”stopAtToolNames: string[];
List of tool names that will stop the agent from running further. The final output will be the output of the first tool in the list that was called.