public static class ToolCallContent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ToolCallContent |
build() |
ToolCallContent.Builder |
search(SearchCallContent search)
知识搜索调用的具体内容,包含用户搜索查询语句列表及搜索结果关联的引用资源列表。
|
ToolCallContent.Builder |
toolType(Integer toolType)
工具调用类型标识,用于指定当前调用的工具类型。
|
ToolCallContent.Builder |
toolType(ToolCallContentToolTypeEnum toolType)
工具调用类型标识,用于指定当前调用的工具类型。
|
public ToolCallContent.Builder toolType(Integer toolType)
示例值:
toolType - public ToolCallContent.Builder toolType(ToolCallContentToolTypeEnum toolType)
示例值:
toolType - ToolCallContentToolTypeEnumpublic ToolCallContent.Builder search(SearchCallContent search)
示例值:
search - public ToolCallContent build()
Copyright © 2026. All rights reserved.