Get Resource's Sharing Groups
lyzr_sharing_get_resource_groupsList the sharing groups a resource belongs to using its type and ID. Optionally include the full root tree.
Instructions
List the sharing groups a given resource belongs to.
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": {
"resource_type": "<resource_type>",
"resource_id": "<resource_id>"
},
"name": "lyzr_sharing_get_resource_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_tree | No | Whether to include the full root tree (default false) | |
| resource_id | Yes | Resource id | |
| resource_type | Yes | Resource type, e.g. agent, superflow |