List available user roles
lw_user_rolesLists account-wide role names assignable to users and API tokens so you can select valid roles for access management.
Instructions
List the role names the account can assign to users and API tokens (bleed Account/User/roles). Portal roles are account-wide: Owner, Secondary Owner, Purchaser, Technician (exact API names may differ). There is no per-domain or per-asset scoping.
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": "lw_user_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |