AS AgentScopeAPI 手册 / API Reference

Required

record Required() implements ToolChoice
源码Source io/agentscope/core/model/ToolChoice.java:64

承载必填数据的记录类型。位于 io.agentscope.core.model 包,实现 ToolChoice。

Required mode: Force the model to call at least one tool. The model chooses which tool(s) to call based on the context.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.