Class LlmConversationBuilder.ContentToolResponse

java.lang.Object
com.pnfsoftware.jeb.util.llm.LlmConversationBuilder.Content
com.pnfsoftware.jeb.util.llm.LlmConversationBuilder.ContentToolResponse
Enclosing class:
LlmConversationBuilder

public static class LlmConversationBuilder.ContentToolResponse extends LlmConversationBuilder.Content
Tool response content block sent back to an LLM after a tool-use request.
  • Field Details

    • id

      public String id
      Identifier of the tool-use request being answered.
    • name

      public String name
      Tool name.
    • response

      public Object response
      Tool response payload.
  • Constructor Details

    • ContentToolResponse

      public ContentToolResponse(String id, String name, Object response)
      Create a tool-response content block.
      Parameters:
      id - identifier of the tool-use request being answered
      name - tool name
      response - tool response payload
  • Method Details