Create and manage VMs, managed databases, firewalls and load balancers in Montréal, Canada.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer followed by an FFxF API key (console.ffxf.net/account/api-keys). Catalogue tools work without it.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Saves a public key on the account so new machines can be reached without a password. Scope: sshkeys.write.
OpenSSH public key, e.g. ssh-ed25519 AAAA… user@host.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Saves a public key on the account so new machines can be reached without a password. Scope: sshkeys.write.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| public_key* | string | OpenSSH public key, e.g. ssh-ed25519 AAAA… user@host. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"public_key"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64
},
"public_key": {
"type": "string",
"maxLength": 8192,
"description": "OpenSSH public key, e.g. ssh-ed25519 AAAA… user@host."
}
}
}From now on the machine refuses inbound traffic no rule of its firewalls opens; enforced within about ten seconds of the call. Up to 5 firewalls per machine, rules add up. Refused for a machine with no public address. Attaching again is harmless. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| firewall* | integer | Firewall id, as returned by list_firewalls or create_firewall. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"firewall",
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"firewall": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Firewall id, as returned by list_firewalls or create_firewall.",
"exclusiveMinimum": 0
}
}
}Starts a differential backup within a minute, e.g. before a risky migration. Not available on a linked fork. Scope: backups.write.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}Hot-adds a card on the private network and sets its address in the system, without a restart. configuration: manual means the address must be set by hand in the guest. Connecting again returns the same address. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| ip | string | Address wanted in the range; default the next free one. |
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| vpc* | integer | Private network id, as returned by list_vpcs or create_vpc. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vpc",
"vm"
],
"properties": {
"ip": {
"type": "string",
"description": "Address wanted in the range; default the next free one."
},
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network id, as returned by list_vpcs or create_vpc.",
"exclusiveMinimum": 0
}
}
}Orders a managed database (PostgreSQL, MySQL, MariaDB or Valkey) in a private network, billed by the hour from now (the account needs 24 hours of credit), or by the month (730 hours) or the year (ten months) with billing; get_database_options gives each price. A monthly or yearly period comes out of credit if it covers it; otherwise billing.pending_invoice holds the invoice to pay and it stays hourly until then. Ready within minutes (status pending → active), with the admin user ffxfadmin and the logical database defaultdb (Valkey: the admin default, no logical database). Retrying the same call is safe. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| vpc* | integer | Private network the database joins (list_vpcs); the machines on it reach the database. |
| name* | string | |
| engine | string | Default postgresql. mysql is Percona Server; valkey is Redis-compatible (key-value, in memory). |
| billing | string | hourly (default), monthly (the price of 730 hours, paid in advance) or yearly (ten months). Ask the user; monthly or yearly needs credit or an invoice paid by the user. |
| size_gb | integer | Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size. |
| version | string | Major version from get_database_options; the newest by default. |
Creates a user with a generated password, returned here once (also readable with get_database_credentials); live within seconds. Up to 30 users. It connects only to its databases (every logical database, future ones included, when databases is omitted): it reads and writes everything there and creates tables (on PostgreSQL in public too), or only reads with read_only; elsewhere it has no access. Its connection_uri points to defaultdb, or to its first database without access to defaultdb. On Valkey, an ACL user with every key and data command (no databases, no read_only). Treat the password as a secret. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
| username* | string | Lowercase letters, digits and _, starting with a letter or _. |
| databases | array | Logical databases it may connect to (existing ones, see get_database). Omit for all of them, future ones included. |
| read_only | boolean | SELECT only (MySQL, MariaDB: SELECT and SHOW VIEW). Default false. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"username"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"username": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
},
"databases": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
},
"maxItems": 30,
"description": "Logical databases it may connect to (existing ones, see get_database). Omit for all of them, future ones included."
},
"read_only": {
"type": "boolean",
"description": "SELECT only (MySQL, MariaDB: SELECT and SHOW VIEW). Default false."
}
}
}Creates a reusable set of inbound and outbound rules. Without rules it starts with SSH (TCP 22) and ping open from anywhere; pass rules: [] for none. Nothing is filtered until it is attached to a machine. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| rules | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"protocol"
],
"properties": {
"ports": {
"type": [
"string",
"null"
],
"description": "TCP/UDP only: \"22\", \"80,443\" or a range \"8000-8100\" (up to 15 items). Omitted or null: all ports."
},
"sources": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Inbound rules only: IPv4/IPv6 addresses or ranges allowed in. Omitted or empty: anywhere."
},
"protocol": {
"enum": [
"tcp",
"udp",
"icmp",
"any"
],
"type": "string",
"description": "icmp covers ping for IPv4 and IPv6; any is every protocol."
},
"direction": {
"enum": [
"in",
"out"
],
"type": "string",
"description": "in (default) lets traffic in; out lets it out. The first outbound rule makes outbound restrictive."
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"destinations": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Outbound rules only: IPv4/IPv6 addresses or ranges allowed out to. Omitted or empty: anywhere."
}
}
},
"maxItems": 50
}
}
}Orders a load balancer in a private network, billed by the hour from now (the account needs 24 hours of credit), or by the month (7.30 CAD) or the year (73 CAD) with billing. A monthly or yearly period comes out of credit if it covers it; otherwise billing.pending_invoice holds the invoice to pay and it stays hourly until then. Ready within minutes (status pending → active); pools and listeners can be added meanwhile. Retrying the same call is safe. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| vpc* | integer | Private network whose machines will be the targets (list_vpcs). |
| name* | string | |
| billing | string | hourly (default), monthly (the price of 730 hours, paid in advance) or yearly (ten months). Ask the user; monthly or yearly needs credit or an invoice paid by the user. |
| idempotency_key | string | Your own unique value per order. By default one is derived from the call. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"vpc"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network whose machines will be the targets (list_vpcs).",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"billing": {
"enum": [
"hourly",
"monthly",
"yearly"
],
"type": "string",
"description": "hourly (default), monthly (the price of 730 hours, paid in advance) or yearly (ten months). Ask the user; monthly or yearly needs credit or an invoice paid by the user."
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"description": "Your own unique value per order. By default one is derived from the call."
}
}
}Creates another database inside the managed database (like defaultdb), owned by the admin; up to 30. Not on Valkey (numbered databases, SELECT 0 to 15). Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| name* | string | Lowercase letters, digits and _, starting with a letter or _. |
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}Orders a machine and spends credit (hourly) or raises an invoice (monthly). Returns the machine and a provisioning action to poll with get_action. Retrying the same order is safe: it is deduplicated for 24 hours. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| vpc | integer | Private network id (list_vpcs) to connect the machine to, in the same region. |
| ipv4 | boolean | false orders an IPv6-only machine, cheaper; outbound IPv4 goes through NAT64. |
| plan* | string | Plan slug from list_plans, e.g. nano. |
| image* | string | Image slug from list_images, e.g. debian-13. |
| region* | string | Region slug from list_regions, e.g. montreal. |
| billing* | string | Hourly draws on prepaid credit; monthly raises an invoice. Fixed for the life of the machine. |
| options | object | Paid options declared by the plan, by name. |
| payment | string | Monthly only. credit pays from the balance when it covers the invoice. |
| hostname |
Creates an isolated private network; ready when the call returns. The first usable address (.1) is reserved for the gateway. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| cidr* | string | Private IPv4 range from /16 to /29 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16, e.g. 10.0.0.0/24. |
| name* | string | |
| region* | string | Region slug from list_regions, e.g. montreal. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"cidr",
"region"
],
"properties": {
"cidr": {
"type": "string",
"description": "Private IPv4 range from /16 to /29 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16, e.g. 10.0.0.0/24."
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"region": {
"type": "string",
"description": "Region slug from list_regions, e.g. montreal."
}
}
}DELETES the database and its data; billing stops. Ask the user first. confirm_name must be the database's exact name. Its backups stay 7 days (restore_database can bring it back meanwhile). Refused while a linked fork depends on it. Scope: vms.destroy.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
| confirm_name* | string | The database's exact name, typed back as confirmation. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"confirm_name"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"confirm_name": {
"type": "string",
"description": "The database's exact name, typed back as confirmation."
}
}
}Hands the user's objects to the admin, then drops the user. The admin (ffxfadmin, or default on Valkey) cannot be deleted. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
| username* | string | Lowercase letters, digits and _, starting with a letter or _. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"username"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"username": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
}
}
}Deletes a firewall attached to no machine. Refused while it protects one: detach it first. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| firewall* | integer | Firewall id, as returned by list_firewalls or create_firewall. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"firewall"
],
"properties": {
"firewall": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Firewall id, as returned by list_firewalls or create_firewall.",
"exclusiveMinimum": 0
}
}
}Closes the port and removes its rules. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| listener* | integer | Listener id, from get_load_balancer. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb",
"listener"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"listener": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Listener id, from get_load_balancer.",
"exclusiveMinimum": 0
}
}
}Deletes the load balancer, its address and its configuration; billing stops. Target machines are not touched. Ask the user first. Scope: vms.destroy.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
}
}
}DROPS the logical database with everything in it (the backups keep it 7 days). Ask the user first. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| name* | string | Lowercase letters, digits and _, starting with a letter or _. |
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"name"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}Removes a pool, its targets and the rules leading to it. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| pool* | integer | Pool id, from get_load_balancer. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb",
"pool"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"pool": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pool id, from get_load_balancer.",
"exclusiveMinimum": 0
}
}
}Removes a key from the account. Machines already deployed with it keep it; only future deployments change. Scope: sshkeys.write.
| Argument | Type | Description |
|---|---|---|
| key* | any | Key id from list_ssh_keys. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"key"
],
"properties": {
"key": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "string",
"minLength": 1
}
],
"description": "Key id from list_ssh_keys."
}
}
}Deletes an empty private network. Refused while a machine is still on it: disconnect or destroy those first. Ask the user first. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| vpc* | integer | Private network id, as returned by list_vpcs or create_vpc. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vpc"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network id, as returned by list_vpcs or create_vpc.",
"exclusiveMinimum": 0
}
}
}DESTROYS the machine and its disk, with no undo and no backup kept. Ask the user first. confirm_hostname must be the machine's exact hostname. Scope: vms.destroy.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| when | string | Monthly machines only: at the end of the paid period, or now. |
| confirm_hostname* | string | The machine's exact hostname, typed back as confirmation. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm",
"confirm_hostname"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"when": {
"enum": [
"period_end",
"now"
],
"type": "string",
"description": "Monthly machines only: at the end of the paid period, or now."
},
"confirm_hostname": {
"type": "string",
"description": "The machine's exact hostname, typed back as confirmation."
}
}
}Gives a linked fork its own copy of the data; the database is unavailable for about 30 seconds, then its backups start. Scope: vms.action.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}Removes the firewall's rules from the machine; with no other firewall it accepts all inbound traffic again. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| firewall* | integer | Firewall id, as returned by list_firewalls or create_firewall. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"firewall",
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"firewall": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Firewall id, as returned by list_firewalls or create_firewall.",
"exclusiveMinimum": 0
}
}
}Drops the extension without CASCADE: if objects depend on it, it stays and get_database shows why in warning. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| name* | string | The logical database. |
| database* | integer | Database id, as returned by list_databases or create_database. |
| extension* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"name",
"extension"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "The logical database."
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"extension": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
}Removes the machine's private address and card, without a restart. Refused for the only network of a machine with no public address. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| vpc* | integer | Private network id, as returned by list_vpcs or create_vpc. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vpc",
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network id, as returned by list_vpcs or create_vpc.",
"exclusiveMinimum": 0
}
}
}PostgreSQL only. Enables an extension from get_database_options (vector for pgvector, postgis, pg_trgm…) in one logical database; installed on demand, live within a minute. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| name* | string | The logical database, e.g. defaultdb. |
| database* | integer | Database id, as returned by list_databases or create_database. |
| extension* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"name",
"extension"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "The logical database, e.g. defaultdb."
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"extension": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
}Runs every check of create_vm and prices it, without creating anything: would_succeed, hourly rate, monthly price, credit required. Call it before create_vm. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| vpc | integer | Private network id (list_vpcs) to connect the machine to, in the same region. |
| ipv4 | boolean | false orders an IPv6-only machine, cheaper; outbound IPv4 goes through NAT64. |
| plan* | string | Plan slug from list_plans, e.g. nano. |
| image* | string | Image slug from list_images, e.g. debian-13. |
| region* | string | Region slug from list_regions, e.g. montreal. |
| billing* | string | Hourly draws on prepaid credit; monthly raises an invoice. Fixed for the life of the machine. |
| options | object | Paid options declared by the plan, by name. |
| hostname* | string | Letters, digits, dots and hyphens; no leading, trailing or doubled separator. |
Creates a NEW database, billed like any other, whose data is an instant copy of this one (for a test or staging copy), with the same users and passwords. It stays linked to its source for up to 7 days (no backups of its own, the source cannot be deleted) unless detach_database_fork ends that sooner. Retrying the same call is safe. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| vpc | integer | Default: the source's private network; same region either way. |
| name* | string | Name of the new database. |
| size_gb | integer | Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size. |
| database* | integer | The source database. |
| idempotency_key | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"name"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Default: the source's private network; same region either way.",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Name of the new database."
},
"size_gb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size.",
"exclusiveMinimum": 0
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The source database.",
"exclusiveMinimum": 0
},
"idempotency_key": {
"type": "string",
"maxLength": 255
}
}
}Credit balance, hourly burn rate and runway, quota and budget caps. Scope: billing.read.
No arguments.
{
"type": "object",
"properties": {}
}Follows an asynchronous action (create, reinstall, power…). Poll until status leaves running; on error it carries the reason. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| action* | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"action"
],
"properties": {
"action": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
}One database: status, connection (host, private ip, port, defaultdb and ffxfadmin; on Valkey no database and default), public access and sources, disk usage and cap, users with their databases (null: all) and read_only, logical databases and extensions, Valkey's eviction policy and data memory, backups and restore window, maintenance window, fork link, warning. No passwords. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}Every user with its password, databases and read_only, and its own connection_uri; ready-made connection strings for the admin (private network, and public when open). Treat the result as a secret: give it to the application through an environment variable or a secret store, never into code, commits or logs. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}CPU, memory, connections and commits per minute (commands per minute on Valkey) over 1h (1-minute buckets), 24h (10 minutes) or 7d (1 hour); only buckets with samples. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| range | string | |
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"range": {
"enum": [
"1h",
"24h",
"7d"
],
"type": "string"
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}What can be ordered: engines and versions, extensions, sizes with their hourly, monthly and yearly prices per region, and the price of disk beyond what a size includes. Call it before create_database and show the price to the user. Scope: vms.read.
No arguments.
{
"type": "object",
"properties": {}
}One firewall: its rules and the machines it protects, with the status of each (applied, pending, error). Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| firewall* | integer | Firewall id, as returned by list_firewalls or create_firewall. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"firewall"
],
"properties": {
"firewall": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Firewall id, as returned by list_firewalls or create_firewall.",
"exclusiveMinimum": 0
}
}
}One load balancer in full: status, ipv4/ipv6 to put in DNS, pools with targets (health, sessions, response time), listeners with rules in evaluation order, certificates. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
}
}
}Requests by response class, connections, bytes in/out and peak sessions over 1h (1-minute buckets), 24h (15 minutes) or 7d (1 hour), plus totals. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| range | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"range": {
"enum": [
"1h",
"24h",
"7d"
],
"type": "string"
}
}
}The runs-on labels with their vCPU, memory and price per minute, the account's concurrency (vCPU of jobs starting or running, and the cap), the linked GitHub organizations and accounts, this month's minutes and cost per repository, the actions cache next to the runners (bytes, entries and last use per repository, price per GB per month), and the Docker cache per repository (enabled in the console, bytes, last successful job). Scope: billing.read.
No arguments.
{
"type": "object",
"properties": {}
}The 20 queries with the most total time (pg_stat_statements, values replaced by $1, $2…; performance_schema on MySQL and MariaDB, values replaced by ?): calls, total and mean time, rows. A starting point for indexes. On Valkey, the commands with the most total time since the engine started (GET, HSET…). Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}One machine: status, IPv4, IPv6 /64, specs, traffic (Internet only, this traffic month: used_gb, limit_gb, period_ends_at), billing, suspension. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
}
}
}CPU, memory, disk and network as measured from outside the machine. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| timeframe | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"timeframe": {
"enum": [
"hour",
"day",
"week",
"month"
],
"type": "string"
}
}
}IPv4 and IPv6 addresses of a machine with their reverse DNS, and its private networks. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
}
}
}One private network and the machines on it, with their private address. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| vpc* | integer | Private network id, as returned by list_vpcs or create_vpc. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vpc"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network id, as returned by list_vpcs or create_vpc.",
"exclusiveMinimum": 0
}
}
}Completed backups (weekly full, daily differential; the transaction log is archived continuously) and the restore window: any minute in it can be restored with restore_database. On Valkey, snapshots (rdb) every hour when there were writes, all kept 24 hours, then one a day. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}The account's managed databases with their status, private and public addresses, disk, backups and billing (no passwords), plus the quota. Scope: vms.read.
No arguments.
{
"type": "object",
"properties": {}
}The account's firewalls with their inbound rules and the machines they protect, plus the quota. Scope: vms.read.
No arguments.
{
"type": "object",
"properties": {}
}Operating systems and ready-to-use application images. The slug is what create_vm expects. Public, no key needed.
| Argument | Type | Description |
|---|---|---|
| plan | string | Keep only images that fit this plan. |
| region | string | |
| category | string | linux, windows, bsd or app. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"plan": {
"type": "string",
"description": "Keep only images that fit this plan."
},
"region": {
"type": "string"
},
"category": {
"type": "string",
"description": "linux, windows, bsd or app."
}
}
}The account's load balancers with their addresses, pools, targets and health, listeners and rules, certificates; plus the quota. Scope: vms.read.
No arguments.
{
"type": "object",
"properties": {}
}Plans with their resources and prices (hourly and monthly, in CAD). Public, no key needed.
| Argument | Type | Description |
|---|---|---|
| region | string | Keep only plans offered in this region. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"region": {
"type": "string",
"description": "Keep only plans offered in this region."
}
}
}Where machines can run. Public, no key needed.
No arguments.
{
"type": "object",
"properties": {}
}Jobs that ran or wait on FFxF runners, most recent first: repository, workflow and job, label, status (queued with waiting_reason credit, budget or account; running; succeeded; failed, stopped_for_credit when the credit ran out; cancelled; refused with refusal), times, billed minutes and amount, link to the run. Scope: billing.read.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Default 25. |
| cursor | string | meta.next_cursor of the previous page. |
| status | string | |
| repository | string | owner/name |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Default 25."
},
"cursor": {
"type": "string",
"description": "meta.next_cursor of the previous page."
},
"status": {
"enum": [
"queued",
"running",
"succeeded",
"failed",
"cancelled",
"refused"
],
"type": "string"
},
"repository": {
"type": "string",
"maxLength": 200,
"description": "owner/name"
}
}
}SSH keys saved on the account, to pass to create_vm. Scope: sshkeys.write or vms.read.
No arguments.
{
"type": "object",
"properties": {}
}History of actions on one machine, from the API and the console. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
}
}
}The account's machines with their status, addresses and billing. Scope: vms.read.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | next_cursor from the previous page. |
| region | string | |
| status | string | e.g. running, stopped, provisioning. |
| billing | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page."
},
"region": {
"type": "string"
},
"status": {
"type": "string",
"description": "e.g. running, stopped, provisioning."
},
"billing": {
"enum": [
"hourly",
"monthly"
],
"type": "string"
}
}
}The account's private networks with their range, gateway and connected machines, plus the quota. Scope: vms.read.
No arguments.
{
"type": "object",
"properties": {}
}Joins the target network, then leaves this one, so the machine is never cut off. Keeps the same address ending when free. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| to* | integer | The target network. |
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| vpc* | integer | The network the machine is on now. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vpc",
"vm",
"to"
],
"properties": {
"to": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The target network.",
"exclusiveMinimum": 0
},
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The network the machine is on now.",
"exclusiveMinimum": 0
}
}
}start, shutdown (clean ACPI), reboot, or stop (hard power-off). Returns an action to poll with get_action. Scope: vms.action.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| type* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm",
"type"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"type": {
"enum": [
"start",
"shutdown",
"reboot",
"stop"
],
"type": "string"
}
}
}ERASES THE DISK and redeploys another image. Ask the user first. confirm_hostname must be the machine's exact current hostname. Scope: vms.action.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| image* | string | Image slug from list_images, offered in the machine's region and fitting its plan. |
| ssh_keys | array | |
| confirm_hostname* | string | The machine's exact hostname, typed back as confirmation. |
| password_delivery | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm",
"image",
"confirm_hostname"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"image": {
"type": "string",
"description": "Image slug from list_images, offered in the machine's region and fitting its plan."
},
"ssh_keys": {
"type": "array",
"items": {
"type": "string"
}
},
"confirm_hostname": {
"type": "string",
"description": "The machine's exact hostname, typed back as confirmation."
},
"password_delivery": {
"enum": [
"email",
"none"
],
"type": "string"
}
}
}Changes the hostname, inside the guest and in the console. Scope: vms.action.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| hostname* | string | Letters, digits, dots and hyphens; no leading, trailing or doubled separator. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm",
"hostname"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"hostname": {
"type": "string",
"pattern": "^(?!.*[.-]{2})[a-zA-Z0-9]([a-zA-Z0-9.-]{0,126}[a-zA-Z0-9])?$",
"maxLength": 128,
"minLength": 1,
"description": "Letters, digits, dots and hyphens; no leading, trailing or doubled separator."
}
}
}Gives the user a new password, returned here; the old one stops working within seconds, so update the application first or right after. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
| username* | string | Lowercase letters, digits and _, starting with a letter or _. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"username"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"username": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
}
}
}Moves the database to a LARGER size (more vCPU, memory and included disk; see get_database_options): same data, users, names and addresses. It restarts: one to two minutes of downtime, status maintenance meanwhile (resize.to_gb set), then active with the new size_gb. The new rate applies from the next hour. Larger sizes only, there is no way back: tell the user the new price and the downtime first. Retrying the same call is safe. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| size_gb* | integer | Memory in GB, larger than the current size_gb. |
| database* | integer | Database id, as returned by list_databases or create_database. |
| idempotency_key | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"size_gb"
],
"properties": {
"size_gb": {
"type": "integer",
"maximum": 1024,
"minimum": 1,
"description": "Memory in GB, larger than the current size_gb."
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"idempotency_key": {
"type": "string",
"maxLength": 255
}
}
}Creates a NEW database, billed like any other, holding the data as it was at a given minute of the source's restore window (list_database_backups; Valkey: the last snapshot before that minute), with the same users and passwords. The source is not touched and may have been deleted in the last 7 days. Retrying the same call is safe. Scope: vms.create.
| Argument | Type | Description |
|---|---|---|
| at* | string | ISO 8601 timestamp, UTC unless an offset is given, e.g. 2026-10-14T09:30:00Z. |
| vpc | integer | Default: the source's private network. |
| name* | string | Name of the new database. |
| size_gb | integer | Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size. |
| database* | integer | The source database. |
| idempotency_key | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"at",
"name"
],
"properties": {
"at": {
"type": "string",
"description": "ISO 8601 timestamp, UTC unless an offset is given, e.g. 2026-10-14T09:30:00Z."
},
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Default: the source's private network.",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Name of the new database."
},
"size_gb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size.",
"exclusiveMinimum": 0
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The source database.",
"exclusiveMinimum": 0
},
"idempotency_key": {
"type": "string",
"maxLength": 255
}
}
}Opens the database to the internet at its public host and port (IPv4 and IPv6, TLS and password still required), or closes it. sources restricts who may connect (IPv4/IPv6 addresses or ranges); omitted it is left as is, null or [] means everyone. Prefer listing the user's addresses. Live within about 30 seconds. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| enabled* | boolean | |
| sources | any | |
| database* | integer | Database id, as returned by list_databases or create_database. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"enabled"
],
"properties": {
"enabled": {
"type": "boolean"
},
"sources": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 50
},
{
"type": "null"
}
]
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
}
}
}Sets the logical databases a user connects to (databases: a list, or null for all of them, future ones included) and whether it only reads; a field left out keeps its value. Applied within seconds; where its access is removed or lowered, its open connections are closed, so tell the user first if an application uses it. Not on the admin (it always has every database) nor on Valkey. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| database* | integer | Database id, as returned by list_databases or create_database. |
| username* | string | Lowercase letters, digits and _, starting with a letter or _. |
| databases | any | Logical databases it may connect to; null for all of them, future ones included. |
| read_only | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database",
"username"
],
"properties": {
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"username": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
},
"databases": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]{0,62}$",
"description": "Lowercase letters, digits and _, starting with a letter or _."
},
"maxItems": 30
},
{
"type": "null"
}
],
"description": "Logical databases it may connect to; null for all of them, future ones included."
},
"read_only": {
"type": "boolean"
}
}
}Sets the PTR record of one of the machine's addresses; null restores the default. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| vm* | integer | Machine id, as returned by list_vms or create_vm. |
| address* | string | An IPv4 or IPv6 address of the machine. |
| hostname* | string | null | Fully qualified name, or null to clear. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vm",
"address",
"hostname"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"address": {
"type": "string",
"description": "An IPv4 or IPv6 address of the machine."
},
"hostname": {
"type": [
"string",
"null"
],
"description": "Fully qualified name, or null to clear."
}
}
}REPLACES the http/https listener's rules: each sends a hostname and/or path prefix to an http pool (up to 25). They are evaluated most specific first, whatever the order sent; anything unmatched goes to the default pool. No wildcard hostname on https. Each https hostname gets a certificate once it points to the load balancer. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| rules* | array | |
| listener* | integer | Listener id, from get_load_balancer. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb",
"listener",
"rules"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pool id, from get_load_balancer.",
"exclusiveMinimum": 0
},
"hostname": {
"anyOf": [
{
"type": "string",
"maxLength": 253
},
{
"type": "null"
}
],
"description": "e.g. app.example.com, or *.example.com on http only."
},
"path_prefix": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"description": "e.g. /api/"
}
}
},
"maxItems": 25
},
"listener": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Listener id, from get_load_balancer.",
"exclusiveMinimum": 0
}
}
}REPLACES the pool's targets with exactly this list (up to 25): send every target to keep. Each machine must be in the load balancer's private network (connect_vpc first). drain: true stops new connections to a target before maintenance. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| pool* | integer | Pool id, from get_load_balancer. |
| targets* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb",
"pool",
"targets"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"pool": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pool id, from get_load_balancer.",
"exclusiveMinimum": 0
},
"targets": {
"type": "array",
"items": {
"type": "object",
"required": [
"vm",
"port"
],
"properties": {
"vm": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Machine id, as returned by list_vms or create_vm.",
"exclusiveMinimum": 0
},
"port": {
"type": "integer",
"maximum": 65535,
"minimum": 1,
"description": "Port the service listens on, on the machine's private address."
},
"drain": {
"type": "boolean"
},
"weight": {
"type": "integer",
"maximum": 256,
"minimum": 1
}
}
},
"maxItems": 25
}
}
}Any of: the name; the weekly maintenance window (day 0 = Sunday, start hour, Montréal time, 2 hours long; minor updates, usually under 2 minutes of downtime); the disk cap (the disk grows by itself at 80 % full, up to the cap; disk beyond what the size includes is billed per GB); on Valkey, the eviction policy. Scope: databases.write.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| database* | integer | Database id, as returned by list_databases or create_database. |
| disk_cap_gb | integer | |
| eviction_policy | string | Valkey only: what happens when data memory is full. noeviction (default) refuses writes; allkeys-lru removes the least used keys, for a cache. |
| maintenance_day | integer | |
| maintenance_hour | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"database"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"database": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Database id, as returned by list_databases or create_database.",
"exclusiveMinimum": 0
},
"disk_cap_gb": {
"type": "integer",
"maximum": 1000,
"minimum": 1
},
"eviction_policy": {
"enum": [
"noeviction",
"allkeys-lru",
"allkeys-lfu",
"allkeys-random",
"volatile-lru",
"volatile-lfu",
"volatile-random",
"volatile-ttl"
],
"type": "string",
"description": "Valkey only: what happens when data memory is full. noeviction (default) refuses writes; allkeys-lru removes the least used keys, for a cache."
},
"maintenance_day": {
"type": "integer",
"maximum": 6,
"minimum": 0
},
"maintenance_hour": {
"type": "integer",
"maximum": 23,
"minimum": 0
}
}
}rules REPLACES the whole list and is applied at once to every attached machine: send every rule to keep, not only the new one (read get_firewall first). Removing the SSH rule can lock the agent out. pending_machines counts machines not updated yet, retried automatically. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| rules | array | |
| firewall* | integer | Firewall id, as returned by list_firewalls or create_firewall. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"firewall"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"protocol"
],
"properties": {
"ports": {
"type": [
"string",
"null"
],
"description": "TCP/UDP only: \"22\", \"80,443\" or a range \"8000-8100\" (up to 15 items). Omitted or null: all ports."
},
"sources": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Inbound rules only: IPv4/IPv6 addresses or ranges allowed in. Omitted or empty: anywhere."
},
"protocol": {
"enum": [
"tcp",
"udp",
"icmp",
"any"
],
"type": "string",
"description": "icmp covers ping for IPv4 and IPv6; any is every protocol."
},
"direction": {
"enum": [
"in",
"out"
],
"type": "string",
"description": "in (default) lets traffic in; out lets it out. The first outbound rule makes outbound restrictive."
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"destinations": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20,
"description": "Outbound rules only: IPv4/IPv6 addresses or ranges allowed out to. Omitted or empty: anywhere."
}
}
},
"maxItems": 50
},
"firewall": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Firewall id, as returned by list_firewalls or create_firewall.",
"exclusiveMinimum": 0
}
}
}An entry port on the load balancer's address. Without listener: opens one (port and protocol required, up to 5; 22 and 8402 are reserved). https gets certificates for its rules' hostnames; redirect_https makes port 80 redirect to it. A tcp listener needs a tcp default_pool. sources restricts who may connect (null: everyone); with an https listener, port 80 stays open to everyone. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| port | integer | |
| sources | any | IPv4/IPv6 addresses or ranges allowed in. |
| listener | integer | Listener id, from get_load_balancer. |
| protocol | string | |
| default_pool | any | Pool for traffic no rule matches; none answers 503. |
| redirect_https | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"port": {
"type": "integer",
"maximum": 65535,
"minimum": 1
},
"sources": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 20
},
{
"type": "null"
}
],
"description": "IPv4/IPv6 addresses or ranges allowed in."
},
"listener": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Listener id, from get_load_balancer.",
"exclusiveMinimum": 0
},
"protocol": {
"enum": [
"http",
"https",
"tcp"
],
"type": "string"
},
"default_pool": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"description": "Pool for traffic no rule matches; none answers 503."
},
"redirect_https": {
"type": "boolean"
}
}
}Without pool: creates one (name required, up to 10). With pool: changes only the fields given. Deleting a pool also removes its targets and the rules leading to it. Scope: network.write.
| Argument | Type | Description |
|---|---|---|
| lb* | integer | Load balancer id, as returned by list_load_balancers or create_load_balancer. |
| name | string | Letters, digits, spaces, . _ -; unique in the load balancer. |
| pool | integer | Pool id, from get_load_balancer. |
| protocol | string | http pools serve http/https listeners, tcp pools tcp listeners. Default http; cannot change once in use. |
| algorithm | string | |
| send_proxy | boolean | tcp pools only: PROXY protocol v2 to the targets. |
| health_path | any | e.g. /health |
| health_type | string | http (http pools only): GET health_path, 2xx or 3xx is healthy. Default tcp. |
| health_interval | integer | Seconds between checks, default 5. |
| idempotency_key |
| string |
| Your own unique value per order. By default one is derived from the call. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"vpc"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network the database joins (list_vpcs); the machines on it reach the database.",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"engine": {
"enum": [
"postgresql",
"mysql",
"mariadb",
"valkey"
],
"type": "string",
"description": "Default postgresql. mysql is Percona Server; valkey is Redis-compatible (key-value, in memory)."
},
"billing": {
"enum": [
"hourly",
"monthly",
"yearly"
],
"type": "string",
"description": "hourly (default), monthly (the price of 730 hours, paid in advance) or yearly (ten months). Ask the user; monthly or yearly needs credit or an invoice paid by the user."
},
"size_gb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Memory in GB, one of the sizes of get_database_options for the region. Default: 1, or the source's size.",
"exclusiveMinimum": 0
},
"version": {
"type": "string",
"description": "Major version from get_database_options; the newest by default."
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"description": "Your own unique value per order. By default one is derived from the call."
}
}
}| string |
| Letters, digits, dots and hyphens; no leading, trailing or doubled separator. |
| ssh_keys | array | Fingerprints or ids of SSH keys already on the account (see list_ssh_keys). |
| private_only | boolean | No public address at all; needs vpc. Reachable only from the private network, Internet through its gateway. Priced like ipv4: false. |
| idempotency_key | string | Your own unique value per order. By default one is derived from the order itself. |
| password_delivery | string | email mails a generated password; none needs at least one SSH key. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"plan",
"region",
"image",
"hostname",
"billing"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network id (list_vpcs) to connect the machine to, in the same region.",
"exclusiveMinimum": 0
},
"ipv4": {
"type": "boolean",
"description": "false orders an IPv6-only machine, cheaper; outbound IPv4 goes through NAT64."
},
"plan": {
"type": "string",
"description": "Plan slug from list_plans, e.g. nano."
},
"image": {
"type": "string",
"description": "Image slug from list_images, e.g. debian-13."
},
"region": {
"type": "string",
"description": "Region slug from list_regions, e.g. montreal."
},
"billing": {
"enum": [
"hourly",
"monthly"
],
"type": "string",
"description": "Hourly draws on prepaid credit; monthly raises an invoice. Fixed for the life of the machine."
},
"options": {
"type": "object",
"description": "Paid options declared by the plan, by name.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"payment": {
"enum": [
"credit",
"manual"
],
"type": "string",
"description": "Monthly only. credit pays from the balance when it covers the invoice."
},
"hostname": {
"type": "string",
"pattern": "^(?!.*[.-]{2})[a-zA-Z0-9]([a-zA-Z0-9.-]{0,126}[a-zA-Z0-9])?$",
"maxLength": 128,
"minLength": 1,
"description": "Letters, digits, dots and hyphens; no leading, trailing or doubled separator."
},
"ssh_keys": {
"type": "array",
"items": {
"type": "string"
},
"description": "Fingerprints or ids of SSH keys already on the account (see list_ssh_keys)."
},
"private_only": {
"type": "boolean",
"description": "No public address at all; needs vpc. Reachable only from the private network, Internet through its gateway. Priced like ipv4: false."
},
"idempotency_key": {
"type": "string",
"maxLength": 255,
"description": "Your own unique value per order. By default one is derived from the order itself."
},
"password_delivery": {
"enum": [
"email",
"none"
],
"type": "string",
"description": "email mails a generated password; none needs at least one SSH key."
}
}
}| ssh_keys | array | Fingerprints or ids of SSH keys already on the account (see list_ssh_keys). |
| private_only | boolean | No public address at all; needs vpc. Reachable only from the private network, Internet through its gateway. Priced like ipv4: false. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"plan",
"region",
"image",
"hostname",
"billing"
],
"properties": {
"vpc": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Private network id (list_vpcs) to connect the machine to, in the same region.",
"exclusiveMinimum": 0
},
"ipv4": {
"type": "boolean",
"description": "false orders an IPv6-only machine, cheaper; outbound IPv4 goes through NAT64."
},
"plan": {
"type": "string",
"description": "Plan slug from list_plans, e.g. nano."
},
"image": {
"type": "string",
"description": "Image slug from list_images, e.g. debian-13."
},
"region": {
"type": "string",
"description": "Region slug from list_regions, e.g. montreal."
},
"billing": {
"enum": [
"hourly",
"monthly"
],
"type": "string",
"description": "Hourly draws on prepaid credit; monthly raises an invoice. Fixed for the life of the machine."
},
"options": {
"type": "object",
"description": "Paid options declared by the plan, by name.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"hostname": {
"type": "string",
"pattern": "^(?!.*[.-]{2})[a-zA-Z0-9]([a-zA-Z0-9.-]{0,126}[a-zA-Z0-9])?$",
"maxLength": 128,
"minLength": 1,
"description": "Letters, digits, dots and hyphens; no leading, trailing or doubled separator."
},
"ssh_keys": {
"type": "array",
"items": {
"type": "string"
},
"description": "Fingerprints or ids of SSH keys already on the account (see list_ssh_keys)."
},
"private_only": {
"type": "boolean",
"description": "No public address at all; needs vpc. Reachable only from the private network, Internet through its gateway. Priced like ipv4: false."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lb"
],
"properties": {
"lb": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Load balancer id, as returned by list_load_balancers or create_load_balancer.",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Letters, digits, spaces, . _ -; unique in the load balancer."
},
"pool": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Pool id, from get_load_balancer.",
"exclusiveMinimum": 0
},
"protocol": {
"enum": [
"http",
"tcp"
],
"type": "string",
"description": "http pools serve http/https listeners, tcp pools tcp listeners. Default http; cannot change once in use."
},
"algorithm": {
"enum": [
"roundrobin",
"leastconn"
],
"type": "string"
},
"send_proxy": {
"type": "boolean",
"description": "tcp pools only: PROXY protocol v2 to the targets."
},
"health_path": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"description": "e.g. /health"
},
"health_type": {
"enum": [
"tcp",
"http"
],
"type": "string",
"description": "http (http pools only): GET health_path, 2xx or 3xx is healthy. Default tcp."
},
"health_interval": {
"type": "integer",
"maximum": 60,
"minimum": 2,
"description": "Seconds between checks, default 5."
}
}
}