Interface ToolCall

All Known Subinterfaces:
FunctionCall

@Experimental public interface ToolCall
Instructions for invoking a specific tool.
Since:
5.2.250908
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Returns an identifier for this tool invocation.
    @NotNull String
    Returns the type of tool to be invoked.
  • Method Details

    • getId

      @NotNull @NotNull String getId()
      Returns an identifier for this tool invocation.
      Returns:
      The identifier of this call.
      Since:
      5.2.250908
    • getType

      @NotNull @NotNull String getType()
      Returns the type of tool to be invoked.
      Returns:
      The tool type.
      Since:
      5.2.250908