Get shared device roles
get_org_rolesRetrieve an organization's shared device-role vocabulary and its revision, allowing you to update roles later with set_org_roles.
Instructions
Read an organisation's shared device-role vocabulary. Returns the complete roles array and its revision; pass that revision to set_org_roles. Project-level deviceRoles are layered on top.
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": "get_org_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organisation to target: an org id (org_…), slug, or name. Defaults to RAILYARD_ORG, or to your first (personal) org if that is unset. Use list_orgs to see the options. |