Server definition
- Hash
- sha256:31fc92279725a5803cd2610fba38cb97a72d9c89ecbe5d8ea725e9c1424c420a
- What it is
- What a remote MCP server returned when asked what it offers: 15 tools
The blob, as servednamed by its sha256
{
"instructions": "Deploy and manage apps on Flux Cloud, the decentralized cloud. Read the flux://guide/overview resource first. All prices are Flux Cloud USD prices (converted to FLUX for payment). Always show the user the USD quote from flux_quote_app and get their agreement before calling flux_deploy_app with confirm=true, which spends FLUX. This is the hosted server: it stores no keys. Read-only tools need none. Tools that sign or pay take fluxIdPrivateKey and paymentPrivateKey as arguments, used only for that call. NEVER ask the user for the keys of a wallet they use elsewhere: call flux_generate_keys to create a dedicated pair, tell the user to fund the payment address with only the amount needed, and reuse that pair in later calls. Remind the user to save the keys.",
"tools": [
{
"description": "Turns images, ports, resources and a term into a complete, correctly formatted v8 specification, with public ports auto-picked and data replication enabled. Returns the spec plus local validation errors and warnings.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"components": {
"items": {
"properties": {
"commands": {
"items": {
"type": "string"
},
"type": "array"
},
"cpu": {
"description": "Cores, 0.1 to 15 in 0.1 steps.",
"type": "number"
},
"dataPath": {
"description": "Path inside the container to persist. Default \"/data\".",
"type": "string"
},
"description": {
"maxLength": 256,
"type": "string"
},
"env": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"hdd": {
"description": "GB.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"image": {
"description": "Docker image with an explicit tag.",
"type": "string"
},
"name": {
"maxLength": 63,
"type": "string"
},
"ports": {
"items": {
"properties": {
"containerPort": {
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
"domain": {
"type": "string"
},
"port": {
"description": "Public port; auto-picked from 31000-39999 when omitted.",
"maximum": 65535,
"minimum": 1,
"type": "integer"
}
},
"required": [
"containerPort"
],
"type": "object"
},
"type": "array"
},
"ram": {
"description": "MB, multiple of 100.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"replicateData": {
"description": "Replicate the data path across instances. Default true.",
"type": "boolean"
},
"repoauth": {
"type": "string"
}
},
"required": [
"image",
"cpu",
"ram",
"hdd"
],
"type": "object"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"contacts": {
"items": {
"type": "string"
},
"maxItems": 5,
"type": "array"
},
"description": {
"maxLength": 256,
"type": "string"
},
"expireBlocks": {
"description": "Exact term in blocks; overrides months.",
"maximum": 1056000,
"minimum": 1,
"type": "integer"
},
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"geolocation": {
"items": {
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"instances": {
"description": "Copies on distinct nodes. Default 3.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"months": {
"description": "Term in network months (88000 blocks each). Default 1.",
"exclusiveMinimum": 0,
"maximum": 12,
"type": "number"
},
"name": {
"description": "Unique app name: letters, digits, inner hyphens. Not starting with \"flux\" or \"zel\".",
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"type": "array"
},
"owner": {
"description": "Flux ID that will own the app. Defaults to the configured or passed key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
},
"staticip": {
"type": "boolean"
}
},
"required": [
"name",
"components"
],
"type": "object"
},
"name": "flux_build_spec",
"outputSchema": null
},
{
"description": "Ends an app early by updating its term so it expires within about an hour. The network then uninstalls it everywhere. With confirm=true this signs and pays the (usually minimal) update; without it, returns the plan.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"confirm": {
"default": false,
"type": "boolean"
},
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"name": {
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "flux_cancel_app",
"outputSchema": null
},
{
"description": "restart: restarts containers. redeploy: pulls the image again and recreates containers (hard=true also wipes data). remove: uninstalls from nodes; the registration stays and the network re-spawns it elsewhere, so use flux_cancel_app to stop paying. Scope is one node (nodeIp) or every node running the app (global). Requires the owner key.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"enum": [
"restart",
"redeploy",
"remove"
],
"type": "string"
},
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"hard": {
"default": false,
"description": "For redeploy: also delete the app data.",
"type": "boolean"
},
"name": {
"type": "string"
},
"nodeIp": {
"description": "Required for scope=node; also the node the global command is sent through.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
},
"scope": {
"default": "global",
"enum": [
"node",
"global"
],
"type": "string"
}
},
"required": [
"name",
"action"
],
"type": "object"
},
"name": "flux_control_app",
"outputSchema": null
},
{
"description": "Validates the specification on a node, quotes it, and with confirm=true signs it with the Flux ID, broadcasts it and pays the quoted FLUX from the payment address. Without confirm it only returns the plan (price, balance, warnings) and spends nothing. Registers a new name or updates an existing app of the same owner. Then call flux_wait_for_app with the returned txid.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"confirm": {
"default": false,
"description": "Set true to actually sign, broadcast and pay.",
"type": "boolean"
},
"enterprise": {
"description": "Make the app private: these components and contacts are encrypted so only the nodes running the app can read them. When set, spec.compose should be [] and spec.enterprise \"\".",
"properties": {
"compose": {
"items": {
"properties": {
"commands": {
"default": [],
"description": "Container Cmd, max 20 strings.",
"items": {
"type": "string"
},
"type": "array"
},
"containerData": {
"description": "Persisted path, e.g. \"r:/data\" (r: = replicated across instances).",
"type": "string"
},
"containerPorts": {
"default": [],
"description": "Ports the container listens on, parallel to ports.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"cpu": {
"description": "Cores, 0.1 to 15 in 0.1 steps.",
"type": "number"
},
"description": {
"maxLength": 256,
"type": "string"
},
"domains": {
"default": [],
"description": "Custom domain per port, \"\" for none. Parallel to ports.",
"items": {
"type": "string"
},
"type": "array"
},
"environmentParameters": {
"default": [],
"description": "\"KEY=value\" strings, max 20.",
"items": {
"type": "string"
},
"type": "array"
},
"hdd": {
"description": "GB, 1 to 820.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"name": {
"description": "Component name. Defaults to the app name.",
"maxLength": 63,
"type": "string"
},
"ports": {
"default": [],
"description": "Public ports. Prefer 31000-39999.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"ram": {
"description": "MB, 100 to 59000 in steps of 100.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"repoauth": {
"default": "",
"description": "\"user:token\" for a private registry, else \"\".",
"type": "string"
},
"repotag": {
"description": "Docker image with an explicit tag, e.g. \"nginx:1.27-alpine\".",
"type": "string"
}
},
"required": [
"repotag",
"containerData",
"cpu",
"ram",
"hdd"
],
"type": "object"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"contacts": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"compose"
],
"type": "object"
},
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
},
"spec": {
"properties": {
"compose": {
"items": {
"properties": {
"commands": {
"default": [],
"description": "Container Cmd, max 20 strings.",
"items": {
"type": "string"
},
"type": "array"
},
"containerData": {
"description": "Persisted path, e.g. \"r:/data\" (r: = replicated across instances).",
"type": "string"
},
"containerPorts": {
"default": [],
"description": "Ports the container listens on, parallel to ports.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"cpu": {
"description": "Cores, 0.1 to 15 in 0.1 steps.",
"type": "number"
},
"description": {
"maxLength": 256,
"type": "string"
},
"domains": {
"default": [],
"description": "Custom domain per port, \"\" for none. Parallel to ports.",
"items": {
"type": "string"
},
"type": "array"
},
"environmentParameters": {
"default": [],
"description": "\"KEY=value\" strings, max 20.",
"items": {
"type": "string"
},
"type": "array"
},
"hdd": {
"description": "GB, 1 to 820.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"name": {
"description": "Component name. Defaults to the app name.",
"maxLength": 63,
"type": "string"
},
"ports": {
"default": [],
"description": "Public ports. Prefer 31000-39999.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"ram": {
"description": "MB, 100 to 59000 in steps of 100.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"repoauth": {
"default": "",
"description": "\"user:token\" for a private registry, else \"\".",
"type": "string"
},
"repotag": {
"description": "Docker image with an explicit tag, e.g. \"nginx:1.27-alpine\".",
"type": "string"
}
},
"required": [
"repotag",
"containerData",
"cpu",
"ram",
"hdd"
],
"type": "object"
},
"maxItems": 10,
"minItems": 0,
"type": "array"
},
"contacts": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"enterprise": {
"default": "",
"type": "string"
},
"expire": {
"default": 88000,
"description": "Term in blocks; 88000 = 1 month.",
"maximum": 1056000,
"minimum": 1,
"type": "integer"
},
"geolocation": {
"default": [],
"description": "e.g. [\"acEU\"] allow Europe, [\"a!cAS\"] deny Asia.",
"items": {
"type": "string"
},
"type": "array"
},
"instances": {
"default": 3,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"name": {
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"nodes": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"owner": {
"description": "Flux ID. Defaults to the configured FLUX_ID_PRIVATE_KEY identity.",
"type": "string"
},
"staticip": {
"default": false,
"type": "boolean"
},
"version": {
"const": 8,
"default": 8,
"type": "number"
}
},
"required": [
"name",
"description",
"compose"
],
"type": "object"
}
},
"required": [
"spec"
],
"type": "object"
},
"name": "flux_deploy_app",
"outputSchema": null
},
{
"description": "Creates two fresh private keys (WIF): one for the Flux ID that will own apps, one for the address that pays. The response contains the secrets; store them in the MCP server environment as FLUX_ID_PRIVATE_KEY and FLUX_PAYMENT_PRIVATE_KEY, then restart the server. Nothing is stored or sent anywhere by this tool.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"type": "object"
},
"name": "flux_generate_keys",
"outputSchema": null
},
{
"description": "Looks up any app on the network by name and returns its published specification, expiry, running instances and URLs.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"name": {
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "flux_get_app",
"outputSchema": null
},
{
"description": "Fetches the last N log lines of an app (or one component of it) from one of the nodes running it. Requires the owner key.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"component": {
"description": "Component name for multi-component apps.",
"type": "string"
},
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"lines": {
"default": 200,
"maximum": 2000,
"minimum": 1,
"type": "integer"
},
"name": {
"type": "string"
},
"nodeIp": {
"description": "ip[:port] of the instance; defaults to the first running one.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "flux_get_app_logs",
"outputSchema": null
},
{
"description": "CPU, memory and network stats of the containers of an app on one node. Requires the owner key.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"component": {
"description": "Component name for multi-component apps.",
"type": "string"
},
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"name": {
"type": "string"
},
"nodeIp": {
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "flux_get_app_stats",
"outputSchema": null
},
{
"description": "Returns the Flux ID (app owner address), the payment address and its spendable FLUX balance with its USD value. Explains what to configure if keys are missing. Never returns private keys.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"type": "object"
},
"name": "flux_get_identity",
"outputSchema": null
},
{
"description": "Node counts by tier, current block height, FLUX/USD rate and the deployment payment address.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"type": "object"
},
"name": "flux_get_network_info",
"outputSchema": null
},
{
"description": "Returns the current USD rate card, the live FLUX/USD rate, the pay-in-FLUX discount and instant USD estimates for a few reference sizes. Use flux_quote_app for the exact price of a specific app.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"type": "object"
},
"name": "flux_get_pricing",
"outputSchema": null
},
{
"description": "Lists every app registered by the owner (or a given Flux ID) with expiry and instance counts.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"nameContains": {
"description": "Only apps whose name contains this text.",
"type": "string"
},
"owner": {
"description": "Flux ID to list; defaults to the configured one.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
}
},
"type": "object"
},
"name": "flux_list_my_apps",
"outputSchema": null
},
{
"description": "Returns the Flux Cloud price for registering the given specification, or for updating it if an app of that name already exists (the unused part of the current term is credited). Price is in USD with the FLUX amount at market rate.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
},
"spec": {
"properties": {
"compose": {
"items": {
"properties": {
"commands": {
"default": [],
"description": "Container Cmd, max 20 strings.",
"items": {
"type": "string"
},
"type": "array"
},
"containerData": {
"description": "Persisted path, e.g. \"r:/data\" (r: = replicated across instances).",
"type": "string"
},
"containerPorts": {
"default": [],
"description": "Ports the container listens on, parallel to ports.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"cpu": {
"description": "Cores, 0.1 to 15 in 0.1 steps.",
"type": "number"
},
"description": {
"maxLength": 256,
"type": "string"
},
"domains": {
"default": [],
"description": "Custom domain per port, \"\" for none. Parallel to ports.",
"items": {
"type": "string"
},
"type": "array"
},
"environmentParameters": {
"default": [],
"description": "\"KEY=value\" strings, max 20.",
"items": {
"type": "string"
},
"type": "array"
},
"hdd": {
"description": "GB, 1 to 820.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"name": {
"description": "Component name. Defaults to the app name.",
"maxLength": 63,
"type": "string"
},
"ports": {
"default": [],
"description": "Public ports. Prefer 31000-39999.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"ram": {
"description": "MB, 100 to 59000 in steps of 100.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"repoauth": {
"default": "",
"description": "\"user:token\" for a private registry, else \"\".",
"type": "string"
},
"repotag": {
"description": "Docker image with an explicit tag, e.g. \"nginx:1.27-alpine\".",
"type": "string"
}
},
"required": [
"repotag",
"containerData",
"cpu",
"ram",
"hdd"
],
"type": "object"
},
"maxItems": 10,
"minItems": 0,
"type": "array"
},
"contacts": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"enterprise": {
"default": "",
"type": "string"
},
"expire": {
"default": 88000,
"description": "Term in blocks; 88000 = 1 month.",
"maximum": 1056000,
"minimum": 1,
"type": "integer"
},
"geolocation": {
"default": [],
"description": "e.g. [\"acEU\"] allow Europe, [\"a!cAS\"] deny Asia.",
"items": {
"type": "string"
},
"type": "array"
},
"instances": {
"default": 3,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"name": {
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"nodes": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"owner": {
"description": "Flux ID. Defaults to the configured FLUX_ID_PRIVATE_KEY identity.",
"type": "string"
},
"staticip": {
"default": false,
"type": "boolean"
},
"version": {
"const": 8,
"default": 8,
"type": "number"
}
},
"required": [
"name",
"description",
"compose"
],
"type": "object"
}
},
"required": [
"spec"
],
"type": "object"
},
"name": "flux_quote_app",
"outputSchema": null
},
{
"description": "Runs the local rule checks, then asks a FluxOS node to verify the specification exactly as it would at registration (image reachable, architecture, ports, name availability). Returns the node-formatted spec on success.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"network": {
"default": true,
"description": "Also verify on a FluxOS node.",
"type": "boolean"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
},
"spec": {
"properties": {
"compose": {
"items": {
"properties": {
"commands": {
"default": [],
"description": "Container Cmd, max 20 strings.",
"items": {
"type": "string"
},
"type": "array"
},
"containerData": {
"description": "Persisted path, e.g. \"r:/data\" (r: = replicated across instances).",
"type": "string"
},
"containerPorts": {
"default": [],
"description": "Ports the container listens on, parallel to ports.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"cpu": {
"description": "Cores, 0.1 to 15 in 0.1 steps.",
"type": "number"
},
"description": {
"maxLength": 256,
"type": "string"
},
"domains": {
"default": [],
"description": "Custom domain per port, \"\" for none. Parallel to ports.",
"items": {
"type": "string"
},
"type": "array"
},
"environmentParameters": {
"default": [],
"description": "\"KEY=value\" strings, max 20.",
"items": {
"type": "string"
},
"type": "array"
},
"hdd": {
"description": "GB, 1 to 820.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"name": {
"description": "Component name. Defaults to the app name.",
"maxLength": 63,
"type": "string"
},
"ports": {
"default": [],
"description": "Public ports. Prefer 31000-39999.",
"items": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"type": "array"
},
"ram": {
"description": "MB, 100 to 59000 in steps of 100.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"repoauth": {
"default": "",
"description": "\"user:token\" for a private registry, else \"\".",
"type": "string"
},
"repotag": {
"description": "Docker image with an explicit tag, e.g. \"nginx:1.27-alpine\".",
"type": "string"
}
},
"required": [
"repotag",
"containerData",
"cpu",
"ram",
"hdd"
],
"type": "object"
},
"maxItems": 10,
"minItems": 0,
"type": "array"
},
"contacts": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"enterprise": {
"default": "",
"type": "string"
},
"expire": {
"default": 88000,
"description": "Term in blocks; 88000 = 1 month.",
"maximum": 1056000,
"minimum": 1,
"type": "integer"
},
"geolocation": {
"default": [],
"description": "e.g. [\"acEU\"] allow Europe, [\"a!cAS\"] deny Asia.",
"items": {
"type": "string"
},
"type": "array"
},
"instances": {
"default": 3,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"name": {
"maxLength": 63,
"minLength": 1,
"type": "string"
},
"nodes": {
"default": [],
"items": {
"type": "string"
},
"type": "array"
},
"owner": {
"description": "Flux ID. Defaults to the configured FLUX_ID_PRIVATE_KEY identity.",
"type": "string"
},
"staticip": {
"default": false,
"type": "boolean"
},
"version": {
"const": 8,
"default": 8,
"type": "number"
}
},
"required": [
"name",
"description",
"compose"
],
"type": "object"
}
},
"required": [
"spec"
],
"type": "object"
},
"name": "flux_validate_spec",
"outputSchema": null
},
{
"description": "Polls the network for up to timeoutSeconds (default 45 to fit hosts with a 60 s tool timeout, max 600). Returns payment confirmations, whether the spec was accepted, and the running instances with URLs. Safe to call repeatedly until done=true.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"fluxIdPrivateKey": {
"description": "WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key.",
"type": "string"
},
"name": {
"type": "string"
},
"paymentPrivateKey": {
"description": "WIF private key of the Flux address that pays. Fund it with only what you intend to spend.",
"type": "string"
},
"previousHash": {
"description": "For updates: the hash of the previous spec, so acceptance means a new hash.",
"type": "string"
},
"timeoutSeconds": {
"default": 45,
"maximum": 600,
"minimum": 10,
"type": "integer"
},
"txid": {
"description": "Payment txid from flux_deploy_app, to report confirmations.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"name": "flux_wait_for_app",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:31fc92279725a5803cd2610fba38cb97a72d9c89ecbe5d8ea725e9c1424c420a | sha256sum