Policies
MCP tools for the Policies module. See the Policies module docs for permissions and data model.
list-policies
List all policies
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
user_id | string | no | Return only policies attached to this user (user_...) |
limit | number | no | Results per page. Above the maximum it is clamped, and limit in the response reports the page served; below 1 or not an integer it is 400 VALIDATION_FAILED. |
offset | number | no | Results to skip. Negative or not an integer it is 400 VALIDATION_FAILED. |
create-policy
Create a policy
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
name | string | no | — |
description | string | no | — |
document | object | yes | — |
get-policy
Get a policy
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
policy_id | string | yes | Policy public ID (pol_ prefix) |
update-policy
Update a policy
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
policy_id | string | yes | Policy public ID (pol_ prefix) |
name | string | no | — |
description | string | no | — |
document | object | yes | — |
delete-policy
Delete a policy
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
policy_id | string | yes | Policy public ID (pol_ prefix) |