cancelTool

abstract suspend fun cancelTool(): AgentAPI(source)

取消正在进行的工具调用。

请注意,只要被批准,剩余工具调用仍然会继续执行。