scan_agentforce_rule
Run a single Agentforce SAST rule to perform focused security analysis on Salesforce Agentforce metadata.
Instructions
Run a single Agentforce SAST rule against the project. Useful for focused analysis. Rule IDs follow the pattern AGENTFORCE-X.Y (e.g., AGENTFORCE-1.1 for Mandatory User Confirmation).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ruleId": "<ruleId>"
},
"name": "scan_agentforce_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | The rule ID to run (e.g., "AGENTFORCE-1.1", "AGENTFORCE-PT-01", "AGENTFORCE-SC-02") |