Newer Version Available

This content describes an older version of this product. View Latest

GenAiFunctionDefinition

Represents a copilot action that can be added to Einstein Copilot. This object is available in API version 60.0 and later.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

To access this object, Einstein Copilot must be enabled in your org.

Fields

Field Details
Description
Type
textarea
Properties
Create, Update
Description
A description explaining the general purpose and domain of the action.
DeveloperName
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The unique name for this object.
InvocationTarget
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Target invocation used by invocation operations.
InvocationTargetType
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Invocable action types used by invocation operations.
Possible values are:
  • apex
  • flow
  • generatePromptResponse
IsConfirmationRequired
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether confirmation is required for this action.
The default value is false.
Language
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The language of the GenAiFunctionDefinition. The value for this field is the language value of the org.
MasterLabel
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The master label for the generative AI action.
NamespacePrefix
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The namespace of the GenAiFunctionDefinition.