fly_create_machine
Provision a new machine on Fly.io for an app by specifying the Docker image and app name. Optionally configure environment variables and a machine name.
Instructions
Create a new machine in a Fly.io app.
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": {
"app_name": "<app_name>",
"image": "<image>"
},
"name": "fly_create_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | JSON object of environment variables | |
| image | Yes | Docker image to run (e.g. nginx:latest) | |
| api_key | No | ||
| app_name | Yes | ||
| machine_name | No | Optional machine name |