update_user
Update a CallRail user's name or replace their company access list by user ID. Use it to manage manager and reporting user permissions; email and role changes are rejected.
Instructions
Update a user's name or company access. Pass None to leave unchanged.
CallRail's PUT /users accepts first_name, last_name, email and
companies only, with two documented restrictions: names and email can
be changed only for the user who owns the API key, and an email change
requires that user's current password in the request. This server never
handles passwords, so email is rejected; role is rejected because the
API has no way to change it (recreate the user, or use the CallRail UI).
Updates are only accepted for users who have accepted their invitation.
Args: user_id: 'USR...' id. first_name, last_name: Only for the API key's own user. email: Rejected (see above). role: Rejected (see above). company_ids: REPLACES the user's company access list (send the full list the user should keep). Admin-only; applies to manager and reporting users.
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": {
"user_id": "<user_id>"
},
"name": "update_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| No | |||
| user_id | Yes | ||
| last_name | No | ||
| account_id | No | ||
| first_name | No | ||
| company_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |