Skip to main content

Policies

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

list-policies​

List all policies

Arguments​

ArgumentTypeRequiredDescription
user_idstringnoReturn only policies attached to this user (user_...)
limitnumbernoResults 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.
offsetnumbernoResults to skip. Negative or not an integer it is 400 VALIDATION_FAILED.

create-policy​

Create a policy

Arguments​

ArgumentTypeRequiredDescription
namestringno—
descriptionstringno—
documentobjectyes—

get-policy​

Get a policy

Arguments​

ArgumentTypeRequiredDescription
policy_idstringyesPolicy public ID (pol_ prefix)

update-policy​

Update a policy

Arguments​

ArgumentTypeRequiredDescription
policy_idstringyesPolicy public ID (pol_ prefix)
namestringno—
descriptionstringno—
documentobjectyes—

delete-policy​

Delete a policy

Arguments​

ArgumentTypeRequiredDescription
policy_idstringyesPolicy public ID (pol_ prefix)