Get Server Migrations
get_server_migrationsList migrations for the current OpenStack project, or retrieve a specific server migration by server name/ID and migration ID; optionally list all-project migrations for administrators.
Instructions
List server migrations of the current project, or show one migration of a server.
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_server_migrations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all_projects | No | Only without instance_name. If True, list the migrations of every server in the cloud (like 'openstack server migration list' as an administrator). Requires ALLOW_CROSS_PROJECT_READ=true on the server; rows then carry project_name, and the result has a scope (check scope.warning). | |
| migration_id | No | Optional migration ID; requires instance_name. When provided, show that migration. | |
| instance_name | No | Optional server name or ID in the current project. When provided, list that server's in-progress migrations (Nova's server migrations API); otherwise list the current project's migrations from Nova's os-migrations API, which cloud policy usually restricts to administrators. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |