Get accountRole
codecks_get_account_roleRetrieve a single account role by ID, with optional field selection and relation expansion, to inspect role details, timestamps, account, or user data.
Instructions
Get a single accountRole by ID with optional field selection.
Available fields: createdAt, lastChangedAt, role, roleAsPrio Relations: account, user
Example selection: ["createdAt", "lastChangedAt", "role"]
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": {
"id": "<id>"
},
"name": "codecks_get_account_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Model ID | |
| selection | No | Selection array (fields/relations) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |
| include_relations | No | Attempt safe first-level relation expansion with guarded fallback |