# Class OpenApiTool (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

A remote API tool defined by an OpenAPI schema.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `open_api_schema` | `str` Required. The OpenAPI schema in JSON or YAML format. |
| `name` | `str` Optional. The name of the tool. If not provided, the name of the tool will be derived from the OpenAPI schema, from `operation.operationId`. |
| `description` | `str` Optional. The description of the tool. If not provided, the description of the tool will be derived from the OpenAPI schema, from `operation.description` or `operation.summary`. |
| `api_authentication` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ApiAuthentication` Optional. Authentication information required by the API. |
| `tls_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.TlsConfig` Optional. The TLS configuration. Includes the custom server certificates that the client will trust. |
| `service_directory_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ServiceDirectoryConfig` Optional. Service Directory configuration. |
| `ignore_unknown_fields_` | `bool` Optional. If true, the agent will ignore unknown fields in the API response. |
| `url` | `str` Optional. The server URL of the Open API schema. This field is only set in tools in the environment dependencies during the export process if the schema contains a server url. During the import process, if this url is present in the environment dependencies and the schema has the $env_var placeholder, it will replace the placeholder in the schema. |