AgentforcePageContextProviding

protocol AgentforcePageContextProviding

Protocol for providing page context information to the Agentforce SDK.

This protocol enables the SDK to understand the current application context, including which Salesforce object, record, or page the user is viewing. This context information is crucial for providing relevant AI responses, suggesting appropriate actions, and maintaining conversation relevance.

PropertyTypeDescription
pageContextAgentforcePageContext?The current page context information