migration_exchange
Exchange legacy user IDs for new global IDs or map global IDs back to legacy workspace IDs. Supports batch translation of up to 400 users.
Instructions
Exchange a legacy ID for a new ID, or vice versa.
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": {
"users": "<users>"
},
"name": "migration_exchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users | Yes | Comma-separated list of user IDs (up to 400) to translate (e.g. ``U0123,U0456``). | |
| to_old | No | Set to ``True`` to map global IDs back to their local (legacy) workspace IDs. | |
| team_id | No | Specify a team ID to scope the lookup, required for Enterprise Grid org tokens. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||