QuestionQ161

VerifiedAI Agents

Universal Containers is developing a custom agent and adding a new Apex action that takes a collection of text values, such as a list of product names, as an input parameter. The Agentforce Specialist is configuring the action metadata in Agentforce Assets and must correctly map this input so the reasoning engine can pass the list of strings properly.

When defining this input, which complex_data_type_name should the Agentforce Specialist use?

Explanation

Agentforce maps Apex String values to the standard Lightning type lightning__stringType. A homogeneous collection is modeled as list[string], with lightning__stringType identifying the string element data type used by the Apex action.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!