Skill 4.2.1
Design and implement a multi-intervention guardrail strategy covering user inputs, tool calls, tool responses, and outputs
Key Concepts
Foundry guardrails apply controls at four intervention points. At user input, they detect harmful content and user prompt attacks (jailbreaks). At tool call (preview), they check the proposed tool and its arguments, including data sent to the tool. At tool response (preview), they check content returned by tools before it enters the agent's context, which is where indirect prompt injection arrives. At output, they check the final response for harmful content, protected material and sensitive data.
Each control has a risk category, a severity threshold and an action (annotate or block). A guardrail is assigned to model deployments and agents; in multi-agent systems, each agent receives a guardrail suited to its exposure, with the strictest settings on agents that read external content or call write tools.