customHeaders property

Map<String, String>? customHeaders
getter/setter pair

The custom headers to send in the request to the MCP server.

The values must be in the format $context.variables. and can be set in the session variables. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection for more details.

Optional.

Implementation

core.Map<core.String, core.String>? customHeaders;