Title93/100
List nibrun apps
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
List apps owned by the connected account. Each entry in apps includes the app ID, name, state, hostnames, runtime configuration and latest available usage measurements. Environment values are redacted.
The description explains the capability, when to use it, and what to expect.
Inputs100/100
This tool declares no inputs, so argument descriptions are not needed.
No input fields.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema75/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"apps"
],
"properties": {
"apps": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"ownerId",
"name",
"slug",
"state",
"activation",
"idleTimeoutMs",
"createdAt",
"updatedAt",
"config",
"hostnames",
"volumeStorage",
"volumeUsage",
"computeUsage",
"expiresAt"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9A-Za-z][0-9A-Za-z_-]{0,62}$",
"maxLength": 63,
"minLength": 1,
"description": "A tenant app, and the microVM running it."
},
"name": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Display name for the app. Its initial name also determines its platform hostname."
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$",
"maxLength": 63,
"minLength": 1
},
"state": {
"anyOf": [
{
"type": "string",
"const": "active"
},
{
"type": "string",
"const": "suspended"
},
{
"type": "string",
"const": "deleting"
},
{
"type": "string",
"const": "deleted"
}
]
},
"config": {
"type": "object",
"required": [
"access",
"httpPort",
"hasExtraPublicPort",
"args",
"environment",
"resources",
"healthCheck",
"restartPolicy",
"volumeSizeBytes"
],
"properties": {
"args": {
"type": "array",
"items": {
"type": "string",
"maxLength": 4096
},
"maxItems": 64,
"description": "Command-line arguments for the binary at startup. For example, [\"serve\", \"--verbose\"] starts it with serve --verbose."
},
"access": {
"anyOf": [
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"const": "public",
"description": "Allow HTTP requests without a token."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"token",
"issuer",
"audiences",
"publicKeys"
],
"properties": {
"kind": {
"type": "string",
"const": "jwt",
"description": "Require a verified JSON Web Token for incoming HTTP requests."
},
"token": {
"type": "object",
"required": [
"header",
"format"
],
"properties": {
"format": {
"anyOf": [
{
"type": "string",
"const": "raw"
},
{
"type": "string",
"const": "bearer"
}
],
"description": "Use raw when the header contains the token alone, or Bearer [redacted] it starts with the Bearer [redacted]"
},
"header": {
"type": "string",
"pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$",
"maxLength": 256,
"minLength": 1,
"description": "Name of the incoming HTTP header to read the caller’s token from, for example Authorization."
}
},
"additionalProperties": false
},
"issuer": {
"type": "string",
"pattern": "\\S",
"maxLength": 2048,
"minLength": 1,
"description": "Issuer identifier from your identity provider. nibrun checks it against the token’s iss claim."
},
"audiences": {
"type": "array",
"items": {
"type": "string",
"pattern": "\\S",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 32,
"minItems": 1,
"description": "Audiences your identity provider uses for this application. nibrun checks the token’s aud claim against these identifiers.",
"uniqueItems": true
},
"publicKeys": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"pattern": "^https://[^\\s]+$",
"maxLength": 2048,
"description": "Public URL of the issuer’s JSON Web Key Set used to verify token signatures."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
},
"httpPort": {
"type": "integer",
"maximum": 65535,
"minimum": 1,
"description": "Set this to the port your binary listens on so nibrun can route HTTP requests to it."
},
"resources": {
"type": "object",
"required": [
"vcpuCount",
"memoryMib"
],
"properties": {
"memoryMib": {
"type": "integer",
"maximum": 16384,
"minimum": 128
},
"vcpuCount": {
"type": "integer",
"maximum": 32,
"minimum": 1
}
}
},
"environment": {
"type": "object",
"description": "The variables this app runs with. Values are never returned.",
"patternProperties": {
"^(.*)$": {
"type": "string",
"const": "[redacted]"
}
}
},
"healthCheck": {
"type": "object",
"required": [
"intervalMs",
"timeoutMs",
"gracePeriodMs",
"healthyThreshold",
"unhealthyThreshold"
],
"properties": {
"path": {
"type": "string",
"maxLength": 1024,
"minLength": 1
},
"timeoutMs": {
"type": "integer",
"minimum": 100
},
"intervalMs": {
"type": "integer",
"minimum": 100
},
"gracePeriodMs": {
"type": "integer",
"minimum": 0
},
"healthyThreshold": {
"type": "integer",
"minimum": 1
},
"unhealthyThreshold": {
"type": "integer",
"minimum": 1
}
}
},
"restartPolicy": {
"type": "object",
"required": [
"maxRestarts",
"initialBackoffMs",
"maxBackoffMs",
"backoffFactor",
"resetAfterMs"
],
"properties": {
"maxRestarts": {
"type": "integer",
"minimum": 0
},
"maxBackoffMs": {
"type": "integer",
"minimum": 0
},
"resetAfterMs": {
"type": "integer",
"minimum": 0
},
"backoffFactor": {
"type": "number",
"minimum": 1
},
"initialBackoffMs": {
"type": "integer",
"minimum": 0
}
}
},
"volumeSizeBytes": {
"type": "integer",
"minimum": 0
},
"hasExtraPublicPort": {
"type": "boolean"
}
}
},
"ownerId": {
"type": "string",
"pattern": "^[0-9A-Za-z][0-9A-Za-z_-]{0,62}$",
"maxLength": 63,
"minLength": 1,
"description": "The account an app belongs to."
},
"createdAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"maxLength": 35,
"description": "ISO 8601 instant with a mandatory UTC offset."
},
"expiresAt": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"maxLength": 35,
"description": "ISO 8601 instant with a mandatory UTC offset."
},
{
"type": "null"
}
],
"description": "When this app will be deleted, or null when it is kept until its owner does."
},
"hostnames": {
"type": "array",
"items": {
"type": "object",
"required": [
"hostname",
"kind",
"state",
"dcvTarget",
"edgeErrors",
"createdAt"
],
"properties": {
"kind": {
"anyOf": [
{
"type": "string",
"const": "platform"
},
{
"type": "string",
"const": "custom"
}
]
},
"state": {
"anyOf": [
{
"type": "string",
"const": "pending"
},
{
"type": "string",
"const": "active"
},
{
"type": "string",
"const": "failed"
}
]
},
"hostname": {
"type": "string",
"pattern": "^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+$",
"maxLength": 253
},
"createdAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"maxLength": 35,
"description": "ISO 8601 instant with a mandatory UTC offset."
},
"dcvTarget": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"edgeErrors": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"minItems": 1
},
"updatedAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"maxLength": 35,
"description": "ISO 8601 instant with a mandatory UTC offset."
},
"activation": {
"anyOf": [
{
"type": "string",
"const": "always"
},
{
"type": "string",
"const": "on-request"
}
]
},
"volumeUsage": {
"anyOf": [
{
"type": "object",
"required": [
"totalBytes",
"usedBytes",
"measuredAt"
],
"properties": {
"usedBytes": {
"type": "integer",
"minimum": 0
},
"measuredAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"maxLength": 35,
"description": "ISO 8601 instant with a mandatory UTC offset."
},
"totalBytes": {
"type": "integer",
"minimum": 0
}
}
},
{
"type": "null"
}
]
},
"computeUsage": {
"anyOf": [
{
"type": "object",
"required": [
"memoryTotalBytes",
"memoryUsedBytes",
"measuredAt"
],
"properties": {
"cpuShare": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"measuredAt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,9})?(Z|[+-]\\d{2}:\\d{2})$",
"maxLength": 35,
"description": "ISO 8601 instant with a mandatory UTC offset."
},
"memoryUsedBytes": {
"type": "integer",
"minimum": 0
},
"memoryTotalBytes": {
"type": "integer",
"minimum": 0
}
}
},
{
"type": "null"
}
]
},
"idleTimeoutMs": {
"type": "integer",
"maximum": 86400000,
"minimum": 60000
},
"volumeStorage": {
"anyOf": [
{
"type": "object",
"required": [
"bucket",
"prefix"
],
"properties": {
"bucket": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$"
},
"prefix": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Key within a bucket. Which bucket is deploy configuration, not protocol."
}
}
},
{
"type": "null"
}
]
},
"volumeStorageMigration": {
"type": "object",
"required": [
"configId",
"state",
"message",
"canCancel"
],
"properties": {
"state": {
"anyOf": [
{
"type": "string",
"const": "pending"
},
{
"type": "string",
"const": "completed"
},
{
"type": "string",
"const": "failed"
},
{
"type": "string",
"const": "cancelled"
}
]
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"configId": {
"type": "string",
"minLength": 1,
"description": "Pass this version back when cancelling to avoid cancelling a newer attempt."
},
"canCancel": {
"type": "boolean"
}
}
}
}
}
}
}
}