# Class CustomDieTool

java.lang.Object
com.example.CustomDieTool

public class CustomDieTool extends Object
Tools for the user-defined config agent demo.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final FunctionTool`
  `CHECK_PRIME_INSTANCE`
  `static final ExampleTool`
  `EXAMPLE_TOOL_INSTANCE`
  `static final FunctionTool`
  `ROLL_DIE_INSTANCE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CustomDieTool()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Map<String,Object>`
  `checkPrime(List<Integer> nums)`
  `static Map<String,Object>`
  `rollDie(int sides, ToolContext toolContext)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### ROLL_DIE_INSTANCE

    public static final FunctionTool ROLL_DIE_INSTANCE

  - ### CHECK_PRIME_INSTANCE

    public static final FunctionTool CHECK_PRIME_INSTANCE

  - ### EXAMPLE_TOOL_INSTANCE

    public static final ExampleTool EXAMPLE_TOOL_INSTANCE

- ## Constructor Details

  - ### CustomDieTool

    public CustomDieTool()

- ## Method Details

  - ### rollDie

    public static Map<String,Object> rollDie(int sides, ToolContext toolContext)

  - ### checkPrime

    public static Map<String,Object> checkPrime(List<Integer> nums)