OptionalagentSettings?: {OptionalagentApiName?: stringThe API name to use for the Agent metadata to be created.
The name to use for the Agent metadata to be created.
OptionalenrichLogs?: booleanStore conversation transcripts, including end-user data, in event logs for this agent for troubleshooting. If false, conversation data is replaced with, "Sensitive data not available."
Default: false
OptionalplannerId?: stringThe GenAiPlanner metadata ID if already created in the org.
OptionalprimaryLanguage?: "en_US"The language your agent uses in conversations. Agent currently supports English only.
Default: en_US
Optionaltone?: AgentToneThe conversational style of your agent's responses. Can be one of: formal, casual, or neutral.
Default: casual
OptionaluserId?: stringUser ID of an existing user.
Determines what this agent can access and do. If your agent uses features or objects that require additional permissions, assign a custom user.
OptionalpreDefinedTopics?: DraftAgentTopicsList of topics from an agent spec.
OptionalsaveAgent?: booleanWhether to persist the agent creation in the org (true) or preview what would be created (false).
Default: false
Settings for the agent being created. Needed only when saveAgent=true