Interface ToolSource.Local

All Superinterfaces:
ToolSource
Enclosing interface:
ToolSource

@Experimental public static sealed interface ToolSource.Local extends ToolSource
A local @Tool method.
Since:
1.25.0
  • Method Details

    • declaringClassName

      String declaringClassName()
      Returns:
      the class name as returned by Class.getName() (a binary name).
    • methodName

      String methodName()
      Returns:
      the name of the tool method.
    • parameterTypeNames

      List<String> parameterTypeNames()
      Returns:
      the immutable list of parameter type names as returned by Class.getTypeName(), in declaration order, which distinguishes overloads.