GenAiPlanner represents an agent's planner: a container for the topics and actions used to interact with a large language model (LLM).
GenAiPlanner is not supported by the current Metadata API. Use GenAiPlannerBundle for planner retrieval and deployment. These are distinct metadata identities, not interchangeable names for the same component.
Deployment and Retrieval
For current planner metadata operations, use GenAiPlannerBundle rather than GenAiPlanner. Do not assume that changing the type name makes a GenAiPlanner definition valid for the replacement. Its field definitions and component relationships must not be treated as the specification for GenAiPlannerBundle.
Reported Issues
-
Source-tracked retrieval was reported to fail with an unsupported bundle error. In a 2025 discussion, retrieval preview failed with
Unsupported Bundle Type: GenAiFunctionand a registry warning forGenAiPluginInstructionDef. Adding ignore rules did not resolve the questioner's problem. A respondent reported restoring retrieval after deletingSourceMembertracking entries forGenAiFunctionandGenAiPlannerthrough the Tooling API, then resetting local source tracking. This was a reported tracking workaround, not a planner deployment or deletion procedure. Read the retrieval discussion. -
A retrieval error can name a type that was not explicitly included in the manifest. In a 2025 report, a manifest containing
GenAiFunction,GenAiPlanner, andGenAiPluginfailed withINSUFFICIENT_ACCESS: insufficient access rights on entity: GenAiPromptTemplate, althoughGenAiPromptTemplatewas absent from the manifest. The discussion provides no confirmed cause or resolution. Read the access-error report.
Common Questions
Can I retrieve or deploy GenAiPlanner with the current Metadata API?
No. Use GenAiPlannerBundle for current planner retrieval and deployment.
Is GenAiPlannerBundle just another name for GenAiPlanner?
No. They are distinct metadata identities. Do not carry GenAiPlanner field definitions or component relationships over to GenAiPlannerBundle.
Why does retrieval report a GenAiPromptTemplate access error when it is not in my manifest?
A community report describes that symptom during retrieval involving GenAiPlanner, GenAiFunction, and GenAiPlugin. The report does not establish the cause or a confirmed fix.