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; below 1 or not an integer it is 400 VALIDATION_FAILED.
cursorstringnoThe previous page's next_cursor; omit it for the first page. Send it with the same filters as the request that returned it: a malformed cursor, or one sent with other filters, is 400 INVALID_CURSOR.

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)