类的使用
io.agentscope.core.model.ToolSchema.Builder
使用ToolSchema.Builder的程序包
-
io.agentscope.core.model中ToolSchema.Builder的使用
修饰符和类型方法说明static ToolSchema.BuilderToolSchema.builder()Creates a new builder for ToolSchema.ToolSchema.Builder.description(String description) Sets the tool description.Sets the tool name.ToolSchema.Builder.outputSchema(Map<String, Object> outputSchema) Sets the optional tool output schema as a JSON Schema.ToolSchema.Builder.parameters(Map<String, Object> parameters) Sets the tool parameters as a JSON Schema.Sets the strict mode for schema validation.