Guardrails
MCP tools for the Guardrails module. See the Guardrails module docs for permissions and data model.
create-guardrail
Create a guardrail
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | no | Public ID of the project |
name | string | yes | Human-readable name |
description | string | no | — |
document | object | yes | The 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. |
contextToolId | string | no | — |
contextMode | string | no | — |
list-guardrails
List guardrails
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
projectId | string | no | Project public ID to filter by |
limit | number | no | Maximum number of results to return |
offset | number | no | Number of results to skip |
get-guardrail
Get a guardrail
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
guardrailId | string | yes | — |
update-guardrail
Update a guardrail
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
guardrailId | string | yes | — |
name | string | no | — |
description | string | no | — |
document | object | no | The 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. |
contextToolId | string | no | — |
contextMode | string | no | — |
delete-guardrail
Delete a guardrail
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
guardrailId | string | yes | — |
get-guardrail-version
Fetch an archived guardrail version
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
guardrailId | string | yes | — |
version | number | yes | — |
evaluate-guardrail
Dry-run evaluate a guardrail
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
guardrailId | string | yes | — |
args | object | no | The proposed call's arguments (the args.* namespace). |
guardrailContext | object | no | The caller-supplied guardrail context (the context.* namespace), combined with the context tool per context_mode. |
toolId | string | no | Optional tool to resolve soat.tool.* against. |