# Class ToolContext.Builder

java.lang.Object
com.google.adk.tools.ToolContext.Builder

Enclosing class:
  `ToolContext`

public static final class ToolContext.Builder extends Object
Builder for `ToolContext`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ToolContext.Builder`
  `actions(EventActions actions)`
  `ToolContext`
  `build()`
  `ToolContext.Builder`
  `eventId(String eventId)`
  `ToolContext.Builder`
  `functionCallId(String functionCallId)`
  `ToolContext.Builder`
  `toolConfirmation(ToolConfirmation toolConfirmation)`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### actions

    @CanIgnoreReturnValue public ToolContext.Builder actions(EventActions actions)

  - ### functionCallId

    @CanIgnoreReturnValue public ToolContext.Builder functionCallId(String functionCallId)

  - ### toolConfirmation

    @CanIgnoreReturnValue public ToolContext.Builder toolConfirmation(ToolConfirmation toolConfirmation)

  - ### eventId

    @CanIgnoreReturnValue public ToolContext.Builder eventId(String eventId)

  - ### build

    public ToolContext build()