scan_agentforce_file
Scan Salesforce Agentforce metadata files to identify capability violations and security vulnerabilities. Supports genAI metadata types, Apex, triggers, and schema.json for SAST-based checks.
Instructions
Scan a specific Agentforce metadata file for capability violations. Supports .genAiFunction-meta.xml, .genAiPlugin-meta.xml, .genAiPlannerBundle-meta.xml, .genAiPromptTemplate-meta.xml, .agent files, .cls (Apex), .trigger, and schema.json files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the metadata file to scan (relative to project root) |