# Class ToolFakeConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Configuration for tool behavior in fake mode.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `code_block` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1.types.CodeBlock` Optional. Code block which will be executed instead of a real tool call. This field is a member of `oneof`_ `tool_response`. |
| `enable_fake_mode` | `bool` Optional. Whether the tool is using fake mode. |