As we know For Embedded Service Deployment for Chat, We have EmbeddedServiceBranding Object and below is the Package.xml to retrieve
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>masterlabel</members>
<name>EmbeddedServiceBranding</name>
</types>
<version>50.0</version>
</Package>
ToolingAPIEmbeddedServiceBranding:
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_embeddedservicebranding.htm
The above Metadata will not work for Embedded Service for Web
We have a separate object to retrieve Branding Metadata for Embedded Service for Web
Here is the Object: BrandingSet and below is the Package.xml to retrieve
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>MasterLabel</members>
<name>BrandingSet</name>
</types>
<version>50.0</version>
</Package>
ToolingAPIBrandingSet:
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_brandingset.htm
The Master label can be retrieved through Tooling API Please find below Example
Open Developer console > enable Use Tooling API
//fetch masterlabel for embedded service for chat
SELECT Id, MasterLabel from EmbeddedServiceBranding
Example Results: EmbeddedServiceBranding_Parent04IdN0000000lOjUAI_191e17b79e9
//fetch masterlabel for embedded service for web
SELECT Id, MasterLabel from BrandingSet
Example Results: EmbeddedServiceConfig_BrandingSet_191e1701c81
Note: Salesforce will retire legacy Chat products (LiveAgent, Salesforce Chat, Embedded Chat, and Service Chat) on February 14 so EmbeddedServiceBranding as well will not work
002774306

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.