Remove Machine
delete_machineRemove a hosted Meshive machine by exact machine_id. Preview with confirm=false, then confirm=true to start deletion; a grace period may apply if other workspaces remain.
Instructions
Remove a hosted machine from Meshive. This can't be undone. machine is the exact machine_id from the
machines tool; its name doesn't work.
With nothing of other users on it, removal starts at once. Otherwise a grace period of about 48 hours starts
and the workspaces using it are emailed; after it, what is left is removed by force and data on local volumes
is lost. Powering the machine off or removing its agent during the grace period blocks new machine
registrations for 3 months. Its unfinished maintenance windows are cancelled.
With confirm=false (default) it only checks what would happen and removes nothing; call again with the same
machine_id and confirm=true after the user agreed. A machine already being removed is refused
(delete_in_progress).
Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
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": {
"machine": "<machine>"
},
"name": "delete_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| machine | Yes | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||