policy_get_policies
Retrieve a paginated list of policies for the current organization, with options to search, filter, sort, and page results for policy review or management.
Instructions
Returns a paginated list of policies. Find all the policies associated with current org. GET /policy/api/policies
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "policy_get_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of records you want | |
| page | No | Zero-based page index (0..N) | |
| size | No | The size of the page to be returned | |
| skip | No | Number of records you want to skip | |
| sort | No | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | |
| search | No | Matches will start with this string in their name or have this string somewhere in their description. | |
| typeId | No | ||
| orderby | No | Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | |
| computeStats | No | ||
| expandDefinition | No | Retrieves policy definition information for each returned policy. | |
| expandOpaRegoCriteria | No | Retrieves OPA Rego criteria, if defined, for each returned policy. |