# Class ToolExpectation (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    ToolExpectation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The tool call and response pair to be evaluated.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `expected_tool_call` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ToolCall` Required. The expected tool call, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM. |
| `mock_tool_response` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ToolResponse` Required. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM. |