headers

Optional: Fields for authentication headers, timeouts, etc., if needed.


public final Tool.McpServer.Builder headers(JsonField<Tool.McpServer.Headers> headers)

Sets Builder.headers to an arbitrary JSON value.

You should usually call Builder.headers with a well-typed Headers value instead. This method is primarily for setting the field to an undocumented or not yet supported value.