行为;举止

How a live run declares this tool to the model: Behavior.NON_BLOCKING lets the model keep the conversation going while a call is pending, Behavior.BLOCKING makes it wait for the response, and null or Behavior.UNSPECIFIED leaves the tool's declaration as it is. Override it with Behavior.NON_BLOCKING on a tool whose run returns a Flow; a tool that doesn't stream still runs to completion before the live run reads the model's next message. A com.google.adk.kt.annotations.Tool function returning a Flow, or a BasePublisherTool, is declared non-blocking without it.