get_permission_targets
Retrieve all targets of a specified type in a workspace, including permission flags like edit and archive rights. Filter by parent or child type to narrow results.
Instructions
Get all targets of a given type accessible to the current user.
workspace_id: target workspace ID — get available IDs from list_workspaces()
target_type: "HubProfile", "Workspace", "Channel", etc.
child_target_type: filter to targets that have a child of this type
parent_target_id: filter to targets belonging to this parent
Returns each target with its permission flags (can_edit, can_archive, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_type | Yes | ||
| workspace_id | Yes | ||
| parent_target_id | No | ||
| child_target_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |