list_access_policies
Inspect active workspace access policies without changing permissions. Filter by subject, server, effect, enabled state, or creation time and return paginated policy summaries with versions.
Instructions
Inspect active workspace access policies, newest first, without changing permissions. Filter by subject, MCP server, effect, enabled state, or creation time. Returns total and the current page of policy summaries with versions; use get_access_policy for complete subjects and targets.
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": "list_access_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | No | Filter by allow or deny effect | |
| search | No | Search policy names | |
| enabled | No | Filter enabled or disabled policies; false is preserved | |
| user_id | No | Policies naming this user or matching all users | |
| agent_id | No | Policies naming this agent or matching all agents | |
| end_time | No | Policies created at or before this ISO 8601 timestamp | |
| page_size | No | Items per page; the published API permits zero | |
| server_id | No | Policies targeting this MCP server ID | |
| created_by | No | Filter by creator user ID | |
| start_time | No | Policies created at or after this ISO 8601 timestamp | |
| current_page | No | Zero-based page number; the first page is 0 | |
| workspace_id | No | Workspace UUID or slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |