Newer Version Available
GenAiPlanner
Parent Type
File Suffix and Directory Location
GenAiPlanner components have the suffix .genAiPlanner and are stored in the genAiPlanners folder.
Version
GenAiPlanner components are available in API version 60.0 and later.
Special Access Rules
GenAiPlanner is available only if Einstein Copilot is enabled in your org.
Fields
| Field Name | Description |
|---|---|
| capabilities |
|
| description |
|
| genAiFunctions |
|
| masterLabel |
|
| plannerType |
|
GenAiPlannerFunctionDef
Represents a copilot action definition.
| Field Name | Description |
|---|---|
| genAiFunctionName |
|
Declarative Metadata Sample Definition
The following is an example of a GenAiPlanner component.
1<?xml version="1.0" encoding="UTF-8"?>
2<GenAiPlanner xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>Copilot planner description</description>
4 <masterLabel>EmployeeCopilotPlanner</masterLabel>
5 <plannerType>AiCopilot__SequentialPlannerIntentClassifier</plannerType>
6</GenAiPlanner>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>GenAiPlanner</name>
6 </types>
7 <version>60.0</version>
8</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.