GenAiFunctionDefinition

Represents an agent action.

Introduced in API version 59.0.

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

DELETE, GET, HEAD, PATCH, POST, Query

  • To access this object, Agents must be enabled in your org.
  • Type: textarea

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: A description explaining the general purpose and domain of the action.

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The unique name for this object.

  • Type: string

  • Required: No

  • Properties: Create, Group, Nillable

  • Description: The full name of the associated object in Metadata API. The full name can include a namespace prefix.

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description: Target invocation used by invocation operations.

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Restricted picklist, Sort

  • Description: Invocable action types used by invocation operations.

  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Description: Indicates whether confirmation is required for this action.

The default value is false.

  • Default value: false
  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Introduced: API version 62.0

  • Description: Indicates whether the ProgressIndicatorMessage is displayed.

  • Default value: false

  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Introduced: API version 62.0

  • Default value: false

  • Type: picklist

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

  • Description: The language of the GenAiFunctionDefinition. The value for this field is the language value of the org.

  • Possible values:

    • en_US — English

    • de — German

    • es — Spanish

    • fr — French

    • it — Italian

    • ja — Japanese

    • sv — Swedish

    • ko — Korean

    • zh_TW — Chinese (Traditional)

    • zh_CN — Chinese (Simplified)

    • pt_BR — Portuguese (Brazil)

    • nl_NL — Dutch

    • da — Danish

    • th — Thai

    • fi — Finnish

    • ru — Russian

    • es_MX — Spanish (Mexico)

    • no — Norwegian

  • Type: string
  • Required: No
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 65.0
  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description: Indicates the manageable state of the specified component that is contained in a package.

  • Possible values:

    • beta — beta

    • deleted — deleted

    • deprecated — deprecated

    • deprecatedEditable — deprecatedEditable

    • installed — installed

    • installedEditable — installedEditable

    • released — released

    • unmanaged — unmanaged

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The master label for the generative AI action.

  • Type: complexvalue

  • Required: No

  • Properties: Create, Nillable, Update

  • Description: Provides access to the associated type.

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The namespace of the GenAiFunctionDefinition.

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 62.0

  • Relationship name: Parent

  • Relationship type: relationship

  • Refers to: GenAiPlannerFunctionDef

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 65.0

  • Relationship name: Planner

  • Relationship type: relationship

  • Refers to: GenAiPlannerDefinition

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 65.0

  • Relationship name: Plugin

  • Relationship type: relationship

  • Refers to: GenAiPluginDefinition

  • Type: textarea

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 62.0

  • Description: Message displayed when an action is taking longer than expected to execute.

  • Type: picklist
  • Required: No
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Introduced: API version 65.0