Illustrating the typical data flow and lifecycle of an Agentforce Context Protocol interaction.
toolName
: The name of the Tool to be invoked.parameters
: A structured object (e.g., JSON) containing the input values required by the Tool.context
: Optional contextual information, such as user identity or session details, which might be necessary for the Connector or target system.status
: Indicates the outcome of the Tool invocation (e.g., “success”, “error”).data
: If successful, this contains the output data from the Tool, structured according to the Tool’s defined output schema.error
: If an error occurred, this provides details about the error (e.g., error code, message).data
if the request was successful or handles the error
appropriately.