# Class ToolExecutionMode (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    ToolExecutionMode(value)

Defines the tool execution behavior if there are **multiple** tools
being selected by the agent **at the same time**.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `TOOL_EXECUTION_MODE_UNSPECIFIED` | Unspecified tool execution mode. Default to PARALLEL. |
| `PARALLEL` | If there are multiple tools being selected, they will be executed in parallel, with the same \`ToolContext |
| `SEQUENTIAL` | If there are multiple tools being selected, they will be executed sequentially. The next tool will only be executed after the previous tool completes and it can see updated \`ToolContext |