Guardrails before the model sees the prompt
Catch injection, sensitive data, and risky tool calls.
Policy decides what can reach the model.
Security decisions stay reviewable after the call.
Sensitive intent and tool action are evaluated before any provider call.
The text can be handled, but the webhook action is denied.
Guardrails explain the risk and the action.
Security teams see why a request changed, while developers see what to fix in their integration.
Reject instructions that try to override system behavior.
Action: block or continue with evidenceMask private values before they reach a model provider.
Action: redact sensitive fieldsAllow safe tool calls and deny risky actions.
Action: block the tool, not the whole workflowWrite the guardrail verdict into the request trace.
Action: index for reviewSecurity is part of the request story, not a separate black box.
When routing, billing, and audit teams look at a request, they see the same guardrail result.
The model provider has not seen the prompt yet.
LineMod changes only the unsafe part of the request.
Operators can review the decision without reconstructing logs.
Add guardrails before model routing
Protect prompts, tools, and sensitive data while keeping routing evidence readable.