类的使用
com.ajaxjs.mcp.message.ToolExecutionRequest
使用ToolExecutionRequest的程序包
-
com.ajaxjs.mcp.message中ToolExecutionRequest的使用
返回变量类型为ToolExecutionRequest的类型的com.ajaxjs.mcp.message中的方法修饰符和类型方法说明static AiMessageAiMessage.aiMessage(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static AiMessageAiMessage.from(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.类型变量类型为ToolExecutionRequest的com.ajaxjs.mcp.message中的方法参数修饰符和类型方法说明static AiMessageAiMessage.aiMessage(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static AiMessageAiMessage.from(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given text and tool execution requests.static AiMessageAiMessage.from(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.AiMessage.Builder.toolExecutionRequests(List<ToolExecutionRequest> toolExecutionRequests) 类型变量类型为ToolExecutionRequest的com.ajaxjs.mcp.message中的构造器参数限定符构造器说明AiMessage(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given text and tool execution requests.AiMessage(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.