# Class ToolGenerationConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

The configuration to be used to generate a tool.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `context` | `str` Optional. The context which describes the tool to be generated. This can be empty if the tool request \& response are provided. |
| `file_contexts` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.FileContext]` Optional. The files to be used as context. |
| `open_api_toolset_generation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig` Optional. The configuration to be used to generate an Open API schema. |

## Classes

### OpenApiToolsetGenerationConfig

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

The configuration to be used to generate an Open API schema.