get_workspace_policies
Fetch all policy records for a specific workspace by its application ID. Use to review security policies without direct API integration.
Instructions
List the policies defined in a workspace.
Args:
app_id: The workspace/application id (from list_workspaces).
Returns the policy records from
GET /openapi/v1/applications/{app_id}/policies.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>"
},
"name": "get_workspace_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |