Skip to main content

Guardrails

MCP tools for the Guardrails module. See the Guardrails module docs for permissions and data model.

create-guardrail

Create a guardrail

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoPublic ID of the project
namestringyesHuman-readable name
descriptionstringno
documentobjectyesThe action-class document. class maps a call to an action class; guard gates class-B autonomy. Both are single JSON Logic expressions over the args.* / context.* / soat.* namespaces.
contextToolIdstringno
contextModestringno

list-guardrails

List guardrails

Arguments

ArgumentTypeRequiredDescription
projectIdstringnoProject public ID to filter by
limitnumbernoMaximum number of results to return
offsetnumbernoNumber of results to skip

get-guardrail

Get a guardrail

Arguments

ArgumentTypeRequiredDescription
guardrailIdstringyes

update-guardrail

Update a guardrail

Arguments

ArgumentTypeRequiredDescription
guardrailIdstringyes
namestringno
descriptionstringno
documentobjectnoThe action-class document. class maps a call to an action class; guard gates class-B autonomy. Both are single JSON Logic expressions over the args.* / context.* / soat.* namespaces.
contextToolIdstringno
contextModestringno

delete-guardrail

Delete a guardrail

Arguments

ArgumentTypeRequiredDescription
guardrailIdstringyes

get-guardrail-version

Fetch an archived guardrail version

Arguments

ArgumentTypeRequiredDescription
guardrailIdstringyes
versionnumberyes

evaluate-guardrail

Dry-run evaluate a guardrail

Arguments

ArgumentTypeRequiredDescription
guardrailIdstringyes
argsobjectnoThe proposed call's arguments (the args.* namespace).
guardrailContextobjectnoThe caller-supplied guardrail context (the context.* namespace), combined with the context tool per context_mode.
toolIdstringnoOptional tool to resolve soat.tool.* against.