Generate AgentforcePlatformTracingSettings metadata to enable or disable forwarding of Agentforce agent execution trace spans to Data Cloud's ingestion pipeline. This is a singleton Settings type with one boolean field introduced in API v68.0 (Spring '25).
Scope
In scope
Generating
AgentforcePlatformTracing.settings-meta.xml
to enable or disable Agentforce agent tracing.
Out of scope
Platform Tracing for TraceSpanEvent (use
platform-tracing-configure
). Event Log Files. Change Data Capture. Org permission provisioning. Data Cloud provisioning.
Prerequisites
Before generating, inform the user of these requirements. The skill cannot check org state, but deploying without these prerequisites means the setting has no effect:
Data Cloud must be provisioned
in the org — trace spans are forwarded to Data Cloud's ingestion pipeline. Without Data Cloud, there is no destination for the spans.
PlatformObservability
org permission
must be active — this permission gates the feature. It is provisioned (not settable via metadata).
API version 68.0+
— the
AgentforcePlatformTracingSettings
type was introduced in Spring '25. Orgs on older API versions will not recognize it.
Show more
Installs
658
Repository
forcedotcom/sf-skills
GitHub Stars
669
First Seen
10 days ago
Security Audits
Gen Agent Trust Hub
Pass
Socket
Pass
Snyk
Pass