Build custom Linux OS images from recipes and test them in VMs with your OpenFactory account.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
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.
Provision a managed MinIO bucket for an app + publish AWS_* credentials into the app's env automatically. M1 behavior: 1. Verify caller owns the app 2. POST to libvirt :8001 /api/app-infra/buckets (stub mode by default — no real MinIO VM needed for M1) 3. PUT 5 env keys (OF_S3_ENDPOINT, OF_S3_BUCKET, OF_S3_ACCESS_KEY, OF_S3_SECRET_KEY, OF_S3_REGION) into the app's env via the producer API 4. Append bucket_id to App.bucket_refs 5. Return {bucket_id, status, env_keys, env_published} When ``OPENFACTORY_STORAGE_PRODUCER_TOKEN`` is unset, step 3 is skipped and the connection dict (INCLUDING secret_key — shown exactly once) is returned in the response so the caller can manually publish via ``set_app_env(app_id, set={...})``. App code reads with explicit kwargs: ``boto3.client('s3', endpoint_url=os.environ['OF_S3_ENDPOINT'], aws_access_key_id=os.environ['OF_S3_ACCESS_KEY'], aws_secret_access_key=os.environ['OF_S3_SECRET_KEY'])``.
App ID (UUID from create_app).
MCP API key
Session token
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http openfactory https://console.openfactory.tech/api/mcp-stream/plugin/mcp
Showing the first 150 of 189, by name. Connect in the playground above to browse them all.
Provision a managed MinIO bucket for an app + publish AWS_* credentials into the app's env automatically. M1 behavior: 1. Verify caller owns the app 2. POST to libvirt :8001 /api/app-infra/buckets (stub mode by default — no real MinIO VM needed for M1) 3. PUT 5 env keys (OF_S3_ENDPOINT, OF_S3_BUCKET, OF_S3_ACCESS_KEY, OF_S3_SECRET_KEY, OF_S3_REGION) into the app's env via the producer API 4. Append bucket_id to App.bucket_refs 5. Return {bucket_id, status, env_keys, env_published} When ``OPENFACTORY_STORAGE_PRODUCER_TOKEN`` is unset, step 3 is skipped and the connection dict (INCLUDING secret_key — shown exactly once) is returned in the response so the caller can manually publish via ``set_app_env(app_id, set={...})``. App code reads with explicit kwargs: ``boto3.client('s3', endpoint_url=os.environ['OF_S3_ENDPOINT'], aws_access_key_id=os.environ['OF_S3_ACCESS_KEY'], aws_secret_access_key=os.environ['OF_S3_SECRET_KEY'])``.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID (UUID from create_app). |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Provision a managed Postgres database for an app + publish ``DATABASE_URL`` into the app's env automatically. M1 behavior: 1. Verify caller owns the app 2. POST to libvirt :8001 /api/app-infra/databases to allocate the DB (stub mode by default — no real Postgres VM needed for M1) 3. PUT DATABASE_URL into the app's env via the producer API (the password never crosses MCP back to the caller) 4. Append db_id to App.db_refs 5. Return {db_id, status, env_keys, env_published} When ``OPENFACTORY_DB_PRODUCER_TOKEN`` is unset, step 3 is skipped and the connection URL is returned in the response — the caller must publish it manually via ``set_app_env(app_id, set={'DATABASE_URL': ...})``.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID (UUID from create_app). |
| engine | string | DB engine. M1 supports 'postgres' only; MySQL+Redis are M3. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"engine": {
"type": "string",
"default": "postgres",
"description": "DB engine. M1 supports 'postgres' only; MySQL+Redis are M3."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Capture the desktop and draw labeled highlight boxes on it, then return the annotated screenshot URL. Use this right after writing UI code to visually highlight the element you just added: call desktop_screenshot to read the new element's bbox, then annotate_screenshot with that box (and a label like "new: Submit button"). Coordinates are pixel-space — pass an element's bbox [x1,y1,x2,y2] directly, so the box lands exactly on the element. The annotated image is saved as evidence and returned as a fetchable URL.
| Argument | Type | Description |
|---|---|---|
| boxes* | string | JSON array of highlight boxes to draw, in PIXEL coordinates at the screenshot's native resolution. Each box: {"x1":int,"y1":int,"x2":int,"y2":int,"label"?:str,"color"?:"#rrggbb"}. To box a UI element, pass its bbox [x1,y1,x2,y2] straight from a prior desktop_screenshot element. Default color is green (new element); set "color" per box (e.g. "#ef4444" red) to distinguish. Example: [{"x1":100,"y1":120,"x2":360,"y2":180,"label":"new: Submit button"}] |
| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| session_token | any | Session token |
Apply a patch to a deployed app and restart its systemd unit. M1 is local-vm only: writes the file via the guest agent, then `systemctl restart of-app-<slug>`. github-pr / provider-redeploy modes return 501 until M2.5 / M3.
| Argument | Type | Description |
|---|---|---|
| patch* | string | The FULL new file content (NOT a unified diff in M1). |
| api_key | any | MCP API key |
| vm_name* | string | Tester VM name from the App entity. Required in M1. |
| intent_id* | string | FixIntent id from propose_fix. |
| target_file* | string | Relative path under /opt/of-apps/<slug>/ (or absolute). |
| session_token | any | Session token |
{
"type": "object",
"required": [
"intent_id",
"patch",
"target_file",
"vm_name"
],
"properties": {
"patch": {
"type": "string",
"description": "The FULL new file content (NOT a unified diff in M1)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "Tester VM name from the App entity. Required in M1."
},
"intent_id": {
"type": "string",
"description": "FixIntent id from propose_fix."
},
"target_file": {
"type": "string",
"description": "Relative path under /opt/of-apps/<slug>/ (or absolute)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Assign a scenario to a project (and optionally an existing variant), or remove it. This only sets metadata — it never touches the scenario's steps or hardened element cache, and never triggers a build. Provide ``project_id`` (and an optional existing ``build_id``) to file the scenario under that project; omit ``project_id`` to remove it from its project. Only scenarios you own.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| build_id | any | Optional EXISTING variant/build id to associate (metadata only — reuses a build already present, never triggers a new build). Cleared if omitted. |
| project_id | any | Project (proj-… id you own) to file the scenario under, so it shows up under that project in the cto-gui graphs / right test panel. Pass null/omit to REMOVE the scenario from its current project. |
| scenario_id* | string | Scenario id to (re)file (from list_app_scenarios) |
| session_token | any | Session token |
{
"type": "object",
"required": [
"scenario_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional EXISTING variant/build id to associate (metadata only — reuses a build already present, never triggers a new build). Cleared if omitted."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Project (proj-… id you own) to file the scenario under, so it shows up under that project in the cto-gui graphs / right test panel. Pass null/omit to REMOVE the scenario from its current project."
},
"scenario_id": {
"type": "string",
"description": "Scenario id to (re)file (from list_app_scenarios)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Clone and authorize an existing repository owned by this tenant.
| Argument | Type | Description |
|---|---|---|
| name* | string | Repository id or unambiguous name returned by list_internal_repositories. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Repository id or unambiguous name returned by list_internal_repositories."
}
},
"additionalProperties": false
}Log your tester browser into a login-walled OpenFactory platform site so you can reproduce and VERIFY authenticated UI. Call this BEFORE open_url / test_workflow / walk_app on console/build/direktor.openfactory.tech. Injects a short-lived session for a scoped, NON-admin tester identity as the NextAuth session cookie (httpOnly — settable only via DevTools, not JS), so the next navigation to that site is already logged in. Only supports *.openfactory.tech platform sites; managed apps (*.apps.openfactory.tech) use their own app-auth secrets (enable_app_auth) instead.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| vm_name* | string | Your tester VM name (starts with 'of-tester-'). |
| target_url* | string | The login-walled OpenFactory platform URL you are about to reproduce on, e.g. https://console.openfactory.tech. Must be an *.openfactory.tech site. |
| include_perf | boolean | Include timing metrics. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"vm_name",
"target_url"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "Your tester VM name (starts with 'of-tester-')."
},
"target_url": {
"type": "string",
"description": "The login-walled OpenFactory platform URL you are about to reproduce on, e.g. https://console.openfactory.tech. Must be an *.openfactory.tech site."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include timing metrics."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Prepare, build, verify, and publish one OS image lifecycle. This is the ONLY way the harness can produce an ISO — it has no root and must not run build.sh directly. The worktree path and base image come from the build record (never trusted from the caller), but it builds the config/ you authored: from the recipe it writes only config/distribution, the os.packages/os.services package list (Debian targets), the archive entries for published os.custom_obs_packages and the installer manifest. Feature packages and hooks, ENABLE_* gates, branding, users, the desktop session, GRUB/Plymouth and wallpaper exist only if you wrote them, so a recipe alone builds a stock image. Run check_image_inputs before every call. Streams build output to the dashboard and returns the durable lifecycle result. ``wait_seconds`` may keep an existing detached build in this call for up to 300 seconds; otherwise re-call the same tool while fleet build or finalization is in progress. Durable polling never redispatches or takes ownership from the worker/finalizer. It accepts edits from config/recipe.json before choosing a cached result. A fleet-dispatched image's result is returned once: re-calling reads a build still running, still finalizing, or finished but not yet answered, and never redispatches it; after a call has returned its finished answer (finalized, a terminal failure, or a v2 session handover), the next call builds a fresh image only when the canonical inputs have changed. If the finalized image has the same recorded inputs, the tool preserves it and directs you to verification instead of consuming another attempt. Read a returned result or verdict with get_build_status or get_verification_session. Before building it checkpoints config, stages package archives and uploads, refuses a second concurrent call for the same build (``in_progress: True``), cleans stale live-build state/mounts left by a prior attempt (deliberately NO git reset — an agent's between-retry fixes are working-tree edits and must survive), and dispatches the authored config. A successful image is finalized and tested in this same call. ``success`` therefore means the full lifecycle is certified; ``image_built`` separates a verification failure from an image compilation failure. Only for builds your own MCP client drives: a free client-driven account gets five new image dispatches per UTC month, including failed compiles. A platform goal build has no per-build attempt cap. Polling, replay and verification-only checks consume none. This is separate from the one verified hosted-chat result. A quota refusal includes the paid-signup URL to relay to the owner.
Place a real-time AI voice phone call. An AI voice agent conducts the conversation using the context and goal you provide. The agent speaks naturally, listens to the other person, and responds in real-time — like having an assistant make the call for you. This tool blocks until the call completes (typically 1-5 minutes). Returns a full transcript and outcome summary. The call uses speech-to-text for listening and text-to-speech for speaking, powered by Claude for natural conversation management.
| Argument | Type | Description |
|---|---|---|
| to* | string | Phone number to call in E.164 format (e.g., +15551234567) |
| goal* | string | What you want to achieve on this call. Be specific. Example: 'Confirm the car is still available, ask about condition, negotiate price down to $12,000, schedule a test drive.' |
| api_key | any | Your OpenFactory MCP API key (optional) |
| context* | string | Background context for the call. Include: who you're calling, why, what you know about them, your name/role for the call. Example: 'Calling John at ABC Motors about a 2019 Honda Civic listed on Craigslist for $15,000. I'm interested in buying it.' |
| session_token | any | Session token from a previous tool response for session continuity. |
{
"type": "object",
"required": [
"to",
"context",
"goal"
],
"properties": {
"to": {
"type": "string",
"description": "Phone number to call in E.164 format (e.g., +15551234567)"
},
"goal": {
"type": "string",
"description": "What you want to achieve on this call. Be specific. Example: 'Confirm the car is still available, ask about condition, negotiate price down to $12,000, schedule a test drive.'"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"context": {
"type": "string",
"description": "Background context for the call. Include: who you're calling, why, what you know about them, your name/role for the call. Example: 'Calling John at ABC Motors about a 2019 Honda Civic listed on Craigslist for $15,000. I'm interested in buying it.'"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response for session continuity."
}
},
"additionalProperties": false
}Cancel a running group re-run. The in-flight scenario finishes; remaining ones are skipped.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| batch_id* | string | The batch id from run_app_test_group |
| session_token | any | Session token |
{
"type": "object",
"required": [
"batch_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"batch_id": {
"type": "string",
"description": "The batch id from run_app_test_group"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Pre-flight the authored config/ against the recipe before build_image. Read-only, seconds, no network. Returns EVERY gap it finds in one list: effective-feature, os.packages and service packages missing from the install lists; vendor sources and signing keys missing for third-party packages (from the feature files' ``third_party_repo`` / ``repos``); desktop-session plumbing the build-knowledge store records for the desktop in play; recipe users nothing under config/ creates; GNOME Shell extensions built for another shell than ``base_image`` ships, or pinned ones left unstaged; base-release settings that name another release than ``base_image``; and hooks you wrote that download during the build (curl, wget, git clone, pip/npm/cargo install, key servers, a package manager given a URL), each named with the route that replaces the download. If the build has no worktree_path, call build_image to restore preparation for this same build. Its authoring_required result returns before assembly; inspect and restore the accepted config/, then repeat this preflight. It refuses nothing and changes nothing. Fix everything in ``problems`` before calling build_image; ``notes`` name what it could not verify, and features with no package mapping on this base, which install nothing until you add their packages to os.packages or drop them. An empty list covers these checks only; it is not proof the tree is complete.
| Argument | Type | Description |
|---|---|---|
| api_key | any | OpenFactory MCP API key (optional). |
| build_id* | string | The build whose authored config/ to check. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
Check incoming SMS messages and recent call logs for your workspace. Returns SMS messages received in the last 24 hours and recent call history. Use this to see replies to your SMS messages or missed calls.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of messages to return (default 20) |
| api_key | any | Your OpenFactory MCP API key (optional) |
| session_token | any | Session token from a previous tool response for session continuity. |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Maximum number of messages to return (default 20)"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response for session continuity."
}
},
"additionalProperties": false
}The agentic UX-regression gate. Diffs a candidate walk against the active SEALED baseline and returns a verdict FIRST: pass — no UX path removed, no new finding at/above the threshold fail — a state disappeared, a new blocker/major appeared, or the sealed baseline failed hash verification (tampered) no_baseline — nothing sealed yet (walk + seal_walk_baseline first) Call this after an agent changes the app's code to confirm the user experience still holds. ``comparability_warnings`` flag budget/mode mismatches that could cause false failures.
| Argument | Type | Description |
|---|---|---|
| api_key | any | OpenFactory MCP API key. |
| walk_id | any | Candidate walk to check. Omit to use the latest completed walk for this app. |
| app_name* | string | The baseline grouping key (from seal_walk_baseline). |
| session_token | any | Session token echoed by a prior tool. |
| require_sealed | boolean | Require the baseline to be sealed (immutable). If false, an unsealed pin is allowed. |
| fail_on_changed | boolean | Fail on CHANGED states (title/element drift). Off by default — normal during development. |
| fail_on_removed | boolean | Fail when a baseline state (UX path) disappears in the candidate. |
Clear the baseline pin for an app. Idempotent (returns {cleared: false} if no baseline was set).
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| app_name* | string | App name to clear the baseline for. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"app_name": {
"type": "string",
"description": "App name to clear the baseline for."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Mark a finding as resolved (fixed/wont_fix/duplicate/not_a_bug). Future run_fix_cycle calls skip already-resolved findings.
| Argument | Type | Description |
|---|---|---|
| notes | any | Free-text resolution note. |
| api_key | any | MCP API key |
| finding_id* | string | Walker finding_id to mark as resolved. |
| resolution* | string | How this finding was handled. |
| fix_intent_id | any | Optional FixIntent id that resolved this finding. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"finding_id",
"resolution"
],
"properties": {
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Free-text resolution note."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"finding_id": {
"type": "string",
"description": "Walker finding_id to mark as resolved."
},
"resolution": {
"enum": [
"fixed",
"wont_fix",
"duplicate",
"not_a_bug"
],
"type": "string",
"description": "How this finding was handled."
},
"fix_intent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional FixIntent id that resolved this finding."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Configure an isolated lab network, .test DNS and explicit node traffic. rules: [{source: 'entry', target: 'workspace', protocol: 'tcp', port: 8080}]. dns: {'files.workshop.test': 'entry'}. Subnets and runtime names are assigned by the platform. Internet enables public HTTP/HTTPS only; management, metadata, private ranges and other labs remain inaccessible.
| Argument | Type | Description |
|---|---|---|
| dns | any | |
| rules | any | |
| lab_id* | string | |
| api_key | any | |
| internet | boolean | |
| network_id* | string | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"network_id"
],
"properties": {
"dns": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null
},
"rules": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"default": null
},
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"internet": {
"type": "boolean",
"default": false
},
"network_id": {
"type": "string"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Connect a cloud account. Credentials are encrypted at rest, validated live against the provider, and (for the default connection per provider) projected into your account env so deployed apps can use the cloud directly. Returns the masked connection plus the validation result.
| Argument | Type | Description |
|---|---|---|
| name* | string | Display name, e.g. 'Production AWS'. |
| region | any | Default region, e.g. 'us-east-1', 'europe-west1', 'eastus'. |
| api_key | any | MCP API key |
| provider* | string | Cloud provider: 'aws', 'gcp', or 'azure'. |
| credentials* | object | Provider credentials. aws: {access_key_id, secret_access_key, session_token?}. gcp: {service_account_json} (the key-file JSON, as object or string). azure: {tenant_id, client_id, client_secret, subscription_id}. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"provider",
"name",
"credentials"
],
"properties": {
"name": {
"type": "string",
"description": "Display name, e.g. 'Production AWS'."
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Default region, e.g. 'us-east-1', 'europe-west1', 'eastus'."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"provider": {
"type": "string",
"description": "Cloud provider: 'aws', 'gcp', or 'azure'."
},
"credentials": {
"type": "object",
"description": "Provider credentials. aws: {access_key_id, secret_access_key, session_token?}. gcp: {service_account_json} (the key-file JSON, as object or string). azure: {tenant_id, client_id, client_secret, subscription_id}.",
"additionalProperties": true
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Register an app (a git repo to deploy) on OpenFactory. This creates the App record (name, source, slug, visibility). Deploy it with deploy_app(app_id=…) to build a fresh immutable variant and get a URL at https://<slug>.apps.openfactory.tech (web-service apps). To test an app that's ALREADY hosted elsewhere (Vercel, etc.), you don't need this — just point a scenario at its URL with create_app_scenario.
| Argument | Type | Description |
|---|---|---|
| name* | string | Human name for the app, e.g. 'my-shop' |
| port | any | Port the app listens on (e.g. 3000) |
| slug | any | Optional DNS-safe slug for the app's URL; auto-derived from the name if omitted |
| branch | string | Branch to deploy (default main) |
| api_key | any | MCP API key |
| git_url* | string | HTTPS git URL of the app's repository |
| base_image | string | Base variant for deployments (default: debian-trixie) |
| visibility | string | 'public' (anyone with the URL can view) or 'private' (only you — the preview URL is gated by your OpenFactory login). |
Turn a one-sentence brief into a queued immutable app deployment. The returned ``app_id`` can be passed to: - ``iterate_app(app_id, instruction='make the header green')`` to record an iteration (M2 will actually apply it) - ``get_app_build_status(app_id)`` to check current state - ``set_app_env(app_id, set={KEY:val})`` to inject env vars - ``walk_app(app_url=<url>, mode='hybrid')`` for self-test
| Argument | Type | Description |
|---|---|---|
| name | any | Optional display name. Derived from the brief if omitted. |
| wait | boolean | Wait briefly for the asynchronous deployment to finish. |
| brief* | string | One-sentence description of what the app should do. Saved to App.origin.brief for future iteration. |
| branch | string | Template repo branch. |
| api_key | any | MCP API key |
| use_obs | any | Use OBS when true, the image hook when false, or automatic selection when omitted. |
| base_image | string | Base variant for the deployment. |
| visibility | string | 'public' (anyone with URL can view) or 'private' (gated by your OpenFactory login). |
Create a reusable GUI test scenario stored on OpenFactory. Tests any URL the tester VM can reach — a local dev server, a deployed app, or a public site — on a vanilla Ubuntu+Firefox tester VM. No build and no image are required. Define the flow once in plain language; run it later (and repeatedly) with run_app_scenario. The first run hardens it (caches where each element is) so re-runs are fast and self-healing.
| Argument | Type | Description |
|---|---|---|
| steps* | string | JSON array of semantic steps, run in order. Each step: {"action": "open_url"|"click"|"type"|"key"|"assert_text"|"assert_no_error"|"wait"|"email_otp"|"assert_visual"|"drag"|"assert_stable"|"assert_progress"|"network"|"login"|"goal", "target"?: str, "value"?: str, "expect"?: str, "visual_threshold"?: int, "monitor_duration_secs"?: int, "monitor_region"?: [x,y,w,h], "sample_interval_ms"?: int, "stability_threshold"?: int, "min_changes"?: int, "min_stream_secs"?: int}. Use plain language for `target` (e.g. "Sign In button", "email field") — it is matched on screen by OmniParser (verbose descriptions are fine; they resolve to the on-screen label). `value` is the URL (open_url), the text to type (type), the key to press (key, e.g. "Return"), or seconds (wait). `drag` drag-and-drops `target`: `value` is either a pixel delta "dx,dy" (e.g. "120,-40" to move it right 120 / up 40) or "to:<other target>" to drop it onto another element — e.g. reorder a list, move a graph node, drag a slider. `expect` optionally asserts text is visible after the step. An `assert_text` step requires a non-empty `expect` (legacy `value` is also accepted); `target` does not supply the assertion text. `assert_no_error` is a NEGATIVE assertion — it FAILS if an error bubble/toast is on screen (built-in phrases like 'Something went wrong', 'Internal server error', 'Failed to load', 'Rate limit'); add custom phrases via `expect` (comma/newline-separated, e.g. "Payment declined, Card expired"). Place it after a submit/send to assert no failure popped up. NOTE: by default the runner ALSO sweeps every step for these error bubbles and fails the run automatically, so you only need an explicit `assert_no_error` for CUSTOM error text or a specific checkpoint. `assert_visual` is a visual-regression check: the first run captures a perceptual-hash baseline of the full page; later runs FAIL if the page drifts beyond `visual_threshold` (perceptual-hash Hamming distance 0-64, default 8) — catches layout/render regressions that text checks miss. `assert_stable` is a TEMPORAL/SOAK check: it watches a screen region over time and FAILS on visual INSTABILITY — flicker (an element repeatedly appears/disappears) or disappearance (present at the start, gone by the end). Fields: `monitor_duration_secs` (1-120, default 15), `monitor_region` [x,y,w,h] in screen pixels (omit = full screen), `sample_interval_ms` (200-2000, default 500), `stability_threshold` (phash distance 0-64, default 6), and optional `target` = an element (by label) that must REMAIN present the whole time. Catches 'after a while the UI flickers/vanishes' bugs that point-in-time checks miss, e.g. {"action":"assert_stable","target":"VM node","monitor_region":[260,140,760,520],"monitor_duration_secs":20,"description":"VM nodes stay stable for 20s"}. `assert_progress` is the INVERSE temporal check — for STREAMING UIs (a chat reply, a build-log tail). It FAILS if a region stops changing too early: NO_OUTPUT (never rendered) or FROZE (last change before `min_stream_secs`, or fewer than `min_changes` changing samples) — i.e. the reply 'stops after a second'. Same monitor fields as assert_stable plus `min_changes` (default 3) and `min_stream_secs` (default 4); scope `monitor_region` to the reply text area so a spinner can't read as progress. E.g. {"action":"assert_progress","monitor_region":[480,180,760,520],"monitor_duration_secs":20,"min_stream_secs":4,"description":"reply keeps streaming, does not stall"}. `network` is FAULT INJECTION — drop/restore the tester VM's connection to reproduce a mid-stream disconnect and test recovery: `value` = "down" | "up" | "drop:<secs>" (drop cuts the connection, holds ≤ secs, then ALWAYS restores). With `expect` it asserts that text (e.g. a 'connection dropped' recovery toast) appears on the OFFLINE screen. E.g. {"action":"network","value":"drop:12","expect":"connection dropped","description":"cut the connection mid-stream; the recovery toast must appear"}. Reference variables as ${VAR}. Enter a TOTP 2FA code with ${totp:VAR} (VAR holds a base32 secret). For an EMAILED code, use the `email_otp` action: `target` is the code input field, optional `value` filters the email (e.g. "from:[email protected]" or "subject:verification"); it reads the scenario owner's Composio-connected Gmail and fills the code (the owner must have an ACTIVE Composio Gmail connection). It does NOT submit the verification form; follow it with an explicit `click` on Continue/Verify or a `key` Return step, then assert content inside the product. Example login with an emailed 2FA code: [{"action":"open_url","value":"${APP_URL}"},{"action":"type","target":"email field","value":"${EMAIL}"},{"action":"type","target":"password field","value":"${PASSWORD}"},{"action":"click","target":"Sign In button"},{"action":"email_otp","target":"verification code field","value":"subject:verification"},{"action":"click","target":"Verify","expect":"Dashboard"}] |
Create a new build from a recipe. The recipe defines the base OS, features, packages, and configuration for the Linux image. The build is queued and its worktree prepared; by default YOU drive it from there with your own model -- OpenFactory runs no LLM for it. Call build_image(build_id), then drive its verification session: get_verification_session(build_id=...) names the VM and the claims a platform judge grades. Pass platform_agent=True to hand the build to OpenFactory's goal agent instead (metered platform AI). By default the build also gets a chat, seeded with `prompt` (if given) and a recipe card, and linked so it shows up in the sidebar and opens the build panel. Pass create_chat=False to suppress that. Interactive build-terminal agents that need the worktree path use prepare_harness_build instead. The response includes a session_token — pass it to all subsequent tool calls (list_builds, get_build_status, etc.) to maintain session continuity. Example recipe: { "name": "My Custom Server", "base_image": "debian-bookworm", "description": "A minimal web server", "os": { "features": ["ssh", "nginx"], "packages": ["htop", "vim"], "services": [ {"name": "ssh", "config": {"port": 22}} ] } }
| Argument | Type | Description |
|---|---|---|
| theme | any | An Omarchy theme id (GET /api/catalog/themes lists them, e.g. tokyo-night). It is recorded as the owner's choice and verified on the finished image; the recipe must apply it (GET /api/catalog/themes/{id} has its palette and bundle). Refused for firmware built by its own tooling (OpenWrt, Zephyr, GrapheneOS). |
| prompt | any | The natural-language request this recipe came from, if there was one. Seeded as the opening user message of the build's chat, so the chat shows what was actually asked for rather than just the generated recipe. |
| recipe* | any | The build recipe as a JSON object (or a JSON string). Required fields: - name: Name for the build - base_image: Base OS (e.g., "ubuntu-26.04", "debian-trixie", "fedora-39" through "fedora-44", "elster-os") Optional fields: - use_case: Primary use case (e.g., "Development", "Research", "Production server") - description: Description of the build purpose - hardware: Hardware requirements (min_memory_gb, min_storage_gb) - os: OS settings. Put features, packages, services, networking, security, and users here. - scenarios: Post-build test scenarios |
Start an OpenFactory build from a one-sentence description. The prompt is delivered to a new conversation's goal session -- the same agent that serves the Build UI. It reads the request, writes the recipe, builds the image, verifies it, and repairs failures on its own. Nothing is authored by the caller. This spends platform AI: the goal session runs on OpenFactory's model and is metered against your plan's AI allowance. Use ``create_build`` instead when you already hold a complete recipe and want to drive it with your own model. The goal owns the build, so there is no build id yet when this returns: poll ``list_builds`` for the returned ``conversation_id`` and follow the build with ``get_build_status(build_id)``. If the agent needs a decision from you, it asks in the conversation, which you can open in the Build UI.
| Argument | Type | Description |
|---|---|---|
| theme | any | An Omarchy theme id (GET /api/catalog/themes lists them, e.g. tokyo-night). The build agent applies it and the finished image is verified against it. Firmware built by its own tooling (OpenWrt, Zephyr, GrapheneOS) takes no theme. |
| prompt* | string | One sentence describing the image you want, exactly as you would type it into the OpenFactory chat. Example: 'a Fedora 42 workstation ISO with an NVIDIA boot splash and docker preinstalled'. |
| api_key | any | Your OpenFactory MCP API key (optional) |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
| installer_choice | any |
Capture a manual checkpoint (code SHA + VM snapshot + DB snapshot) for the app. Use BEFORE a risky agent iteration; rollback_app restores the full tuple.
| Argument | Type | Description |
|---|---|---|
| notes | any | Free-form note attached to the checkpoint. |
| app_id* | string | App ID (UUID from create_app). |
| pinned | boolean | Exempt from pruning when True. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Free-form note attached to the checkpoint."
},
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"pinned": {
"type": "boolean",
"default": false,
"description": "Exempt from pruning when True."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Create, seed, clone, and authorize an internal-only Git repository.
| Argument | Type | Description |
|---|---|---|
| name* | string | Short tenant-local repository name. |
| description | string | One-line purpose written to README.md. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Short tenant-local repository name."
},
"description": {
"type": "string",
"default": "Generated by OpenFactory",
"description": "One-line purpose written to README.md."
}
},
"additionalProperties": false
}Create a private, owner-only lab within your purchased plan allocation. Retry with the same idempotency_key. No public DNS or gateway is created.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| api_key | any | |
| session_token | any | |
| idempotency_key* | string |
{
"type": "object",
"required": [
"name",
"idempotency_key"
],
"properties": {
"name": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"idempotency_key": {
"type": "string"
}
},
"additionalProperties": false
}Provision only an owned private-lab role from a pinned built artifact. This mandatory lab scope lets a session goal provision roles without exposing unrestricted VM lifecycle tools to an image-build goal.
| Argument | Type | Description |
|---|---|---|
| vcpus | integer | |
| lab_id* | string | |
| api_key | any | |
| node_id* | string | |
| build_id* | string | |
| networks* | array | |
| memory_mb | integer | |
| base_image | any | |
| auto_install | boolean | |
| disk_size_gb | integer | |
| session_token | any |
Create a new recipe based on an existing template. Start with a pre-built template and customize it for your needs. Returns the modified recipe ready to use with create_build.
| Argument | Type | Description |
|---|---|---|
| name* | string | Name for the new recipe |
| template_id* | string | The recipe template ID to use as base |
| modifications | any | Canonical recipe fields to merge into the template. Put OS settings such as features, packages, services, networking, and security under os. |
| session_token | any | Optional continuity token returned by other OpenFactory tools. |
{
"type": "object",
"required": [
"template_id",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the new recipe"
},
"template_id": {
"type": "string",
"description": "The recipe template ID to use as base"
},
"modifications": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Canonical recipe fields to merge into the template. Put OS settings such as features, packages, services, networking, and security under os."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional continuity token returned by other OpenFactory tools."
}
},
"additionalProperties": false
}Create a VM from a built image, using the ARM preview for a PinePhone build. Creates and starts a new VM running the built image.
| Argument | Type | Description |
|---|---|---|
| name | any | Optional name for the VM |
| vcpus | integer | Number of virtual CPUs |
| lab_id | any | Owned private lab; never a host/network identifier |
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id* | string | The build ID to create a VM from |
| networks | any | Logical networks belonging to this lab |
| memory_mb | integer | VM memory in MB |
| base_image | any | Base image slug such as fedora-43, so release-specific installer steps match the release actually being installed |
| lab_node_id | any | Stable logical lab role name |
| auto_install | boolean | Install the built ISO to the primary disk and reboot into the installed system instead of leaving the VM on live media |
Delete a saved app test scenario (its definition + hardened element cache). Only deletes scenarios you own. Past run reports/videos are NOT removed — they live under their run ids. Idempotent: a missing scenario returns success.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| scenario_id* | string | Scenario id to delete (from list_app_scenarios) |
| session_token | any | Session token |
{
"type": "object",
"required": [
"scenario_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"scenario_id": {
"type": "string",
"description": "Scenario id to delete (from list_app_scenarios)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Remove a checkpoint. Errors with 'pinned' if the checkpoint is pinned (unpin first via pin_checkpoint with pinned=False).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| checkpoint_id* | string | Checkpoint to delete. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id",
"checkpoint_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"checkpoint_id": {
"type": "string",
"description": "Checkpoint to delete."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Delete owned lab resources and credentials. Explicit confirm=true is required. Retained test evidence follows its existing retention policy. Does not delete unrelated VMs, networks, or other customers' resources.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| confirm | boolean | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"confirm": {
"type": "boolean",
"default": false
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Remove an owned lab network only after its nodes are removed.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| network_id* | string | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"network_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"network_id": {
"type": "string"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Remove one owned lab node and its disks; its immutable evidence remains.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| node_id* | string | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"node_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"node_id": {
"type": "string"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Delete all versions of a secret once no deployment references it.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| lab_id* | string | |
| api_key | any | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"name"
],
"properties": {
"name": {
"type": "string"
},
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Delete a VM. Stops and removes the VM and its associated resources.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| vm_name* | string | The VM name to delete |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"vm_name": {
"type": "string",
"description": "The VM name to delete"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}Deliver one owned secret version to a role's root-only guest file. Returns its guest path, never plaintext. Use native OS/application tools reading that file for administrator bootstrap, rotation or recovery.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| node_id* | string | |
| reference* | string | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"node_id",
"reference"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"node_id": {
"type": "string"
},
"reference": {
"type": "string"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Build a fresh app-baked OpenFactory variant and deploy it blue-green. The exact Git revision is resolved with your connected GitHub account, dependencies and the app are built through OBS or a live-build hook, and a new live VM boots only after the ISO is complete. The VM receives runtime env, starts the packaged service, passes health checks, and then atomically replaces the old gateway route. No install/build work runs in the live VM. To test an app hosted elsewhere (Vercel, AWS, …) you do NOT need this — pass the hosted URL straight to create_app_scenario.
| Argument | Type | Description |
|---|---|---|
| port | any | Port the app listens on (>=1024) |
| wait | boolean | Wait for completion within wait_timeout_seconds; the deployment continues if the wait expires |
| app_id | any | Deploy a registered app by id (uses its git_url/branch/slug) |
| branch | any | Optional branch override |
| api_key | any | MCP API key |
| git_url | any | Git URL to deploy (omit if app_id is given) |
| use_obs | any | Package through OBS when true; use the image-build hook when false; omit for automatic selection based on OBS health and stack support. |
| base_image | any |
Deploy an owned published Git commit's digest-pinned Compose services privately. The prepared role must contain Docker Compose and systemd. Secrets are explicit {VARIABLE: 'SECRET_NAME:version'} references. No hosted application gateway route is registered. Uses the existing deployment reconciler.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| node_id* | string | |
| revision* | string | |
| repository* | string | |
| secret_refs | any | |
| compose_path | string |
{
"type": "object",
"required": [
"lab_id",
"node_id",
"repository",
"revision"
],
"properties": {
"lab_id": {
"type": "string"
},
"node_id": {
"type": "string"
},
"revision": {
"type": "string"
},
"repository": {
"type": "string"
},
"secret_refs": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null
},
"compose_path": {
"type": "string",
"default": "compose.yaml"
}
},
"additionalProperties": false
}Click at coordinates on your desktop, then return screenshot + elements. Use desktop_screenshot first to find element coordinates, then click using the center coordinates from the elements array.
| Argument | Type | Description |
|---|---|---|
| x* | integer | X coordinate to click (from element's center[0]) |
| y* | integer | Y coordinate to click (from element's center[1]) |
| button | integer | Mouse button: 0=left (default), 2=right |
| double | boolean | Double-click instead of single click |
| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
Close the currently active browser tab, then return screenshot + elements. This sends the normal human browser shortcut Ctrl+W to the desktop VM. Use it after extracting what you need from a page, unless that tab has an unsaved form, draft, active download, authentication flow, or pending user approval.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token |
| screenshot_delay | number | Seconds to wait after closing the active browser tab before taking a screenshot. |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"screenshot_delay": {
"type": "number",
"default": 0.15,
"description": "Seconds to wait after closing the active browser tab before taking a screenshot."
}
},
"additionalProperties": false
}Drag-and-drop on your desktop: press at (x, y), move to (end_x, end_y), release. Use desktop_screenshot first to get the source element's center, then pick a drop point. Good for moving a graph/canvas node, reordering a list, dragging a slider, or dropping one item onto another. PANNING: on an interactive canvas — a node graph (React Flow topology), a map (Google Maps), a diagram, an image viewer — drag across EMPTY canvas space (not on a node/marker) to PAN the view. If part of what you want is off-screen, pan toward it instead of assuming it isn't there. Pair with scroll-to-zoom (see desktop_interact's scroll action) to navigate large canvases: zoom out to get an overview, pan to the region of interest, zoom in to act.
| Argument | Type | Description |
|---|---|---|
| x* | integer | Start X — where to grab (from the element's center[0]) |
| y* | integer | Start Y — where to grab (from the element's center[1]) |
| end_x* | integer | End X — where to drop |
| end_y* | integer | End Y — where to drop |
| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
Execute a sequence of actions on the VM's desktop, then return the screen. The post-action screenshot comes back as an inline image (plus its URL and OmniParser elements), so you can see what your actions actually did. On a build's of-test-* VM this is the ONLY way to click, type, press keys, scroll or drag — batch the steps of one interaction here (e.g. click a field, type text, press Enter). Keep batches short: the whole call shares a 25-second budget, which explicit wait actions extend. An optional verification_capture (or motion_capture) action runs the native recorder concurrently with this sequence (delay_seconds counts from dispatch, not its position in the array). It requires the ready session's build_id and app_run_id plus a stable operation_id; the native recorder still enforces all guards. The response includes verification_capture metadata alongside the action frame (with display_motion for a motion_capture). NAVIGATING CANVASES (node graphs, maps, diagrams, image viewers): you are not limited to what's currently on screen — you can zoom and pan. • scroll = ZOOM on a canvas. Scroll over EMPTY canvas space (not on a node or card, which may capture the wheel) with a meaningful amount (e.g. 6–10) — direction "up" zooms in, "down" zooms out. Small amounts may not move the view noticeably. • drag across EMPTY canvas space = PAN (use a drag action in this tool). Typical flow for a large graph/map: scroll down to zoom OUT for an overview → drag to pan to the area you want → scroll up to zoom IN before clicking. If something seems missing or cut off, zoom out / pan before concluding it's absent.
| Argument | Type | Description |
|---|---|---|
| actions* | string | JSON array of actions to execute sequentially. Each action is an object with a "type" field. Supported types: {"type": "click", "x": 500, "y": 300} — left click {"type": "double_click", "x": 500, "y": 300} — double click {"type": "right_click", "x": 500, "y": 300} — right click {"type": "move", "x": 500, "y": 300} — move mouse {"type": "scroll", "x": 500, "y": 300, "direction": "down", "amount": 3} {"type": "drag", "x": 100, "y": 100, "end_x": 400, "end_y": 400} {"type": "type", "text": "hello"} — type text {"type": "type_secret", "secret_name": "operator-password"} — privately deliver an existing deployment secret into a native console login or verified native PolicyKit hidden password field; no secret value returned. In an installed-system verification session whose first boot the platform unlocked, "installed-disk-passphrase" answers the native disk unlock prompt once after each guest shutdown plus cold_boot {"type": "key", "key": "Return"} — press key {"type": "key_hold", "key": "Right", "duration": 0.5} — hold a key for 0.05–2 seconds, then release {"type": "wake"} — sole action: wake an existing sleeping VM through native ownership and admission checks; never start a stopped VM {"type": "cold_boot"} — sole action: start the same existing shutoff VM through native ownership and admission checks after normal guest shutdown; never stop, reset or change media {"type": "wait", "duration": 2} — wait N seconds {"type": "verification_capture", "build_id": "…", "app_run_id": "…", "operation_id": "…", "description": "…", "status": "passed", "notes": null, "intent_item_ids": ["…"], "delay_seconds": 0.5} — at most one; concurrently record a native frame after 0–10 seconds, bound to the ready verification session; no supplied images {"type": "motion_capture", …the verification_capture fields…, "seconds": 5} — instead of verification_capture, for video, animation or smoothness claims: the platform also samples the VM display for 0–10 seconds (about 30 fps) before the frame and gives the judge the updates per second and longest stall it measured {"type": "find_element", "element_text": "Settings"} — locate by label, no click {"type": "click_element", "element_text": "Settings"} — click the element named, no coordinates {"type": "type_into_element", "element_text": "Search", "text": "accent"} — focus that field and type Example: [{"type": "click", "x": 100, "y": 200}, {"type": "wait", "duration": 1}] |
Press a key or key combination on your desktop, then return screenshot + elements. Common keys: Return, Tab, Escape, Backspace, Delete, Home, End, ctrl+l (focus URL bar), ctrl+w (close tab), ctrl+c (copy), ctrl+v (paste), alt+F4 (close window).
| Argument | Type | Description |
|---|---|---|
| key* | string | Key or key combination to press. Examples: 'Return', 'Tab', 'Escape', 'ctrl+l', 'ctrl+c', 'alt+F4', 'ctrl+shift+t' |
| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token |
| screenshot_delay | number | Seconds to wait after key press before taking screenshot (default: 0.15). |
Listen to audio from a desktop VM and get transcriptions. Captures system audio (PulseAudio monitor) from the desktop VM, sends it through the Whisper STT service, and returns transcribed text. Use 'start' to begin continuous background listening, then 'transcript' to query what was said. Use 'snapshot' for a quick one-shot capture.
| Argument | Type | Description |
|---|---|---|
| action* | string | JSON action. Types: {"type":"start"} — begin continuous listening, {"type":"stop"} — stop listening, {"type":"transcript","since_minutes":5} — get recent transcript, {"type":"snapshot","duration":10} — capture N seconds and transcribe now |
| api_key | any | API key for authentication |
| vm_name* | string | Desktop VM name (of-desktop-*) |
| session_token | any | Session token from a previous tool call |
{
"type": "object",
"required": [
"vm_name",
"action"
],
"properties": {
"action": {
"type": "string",
"description": "JSON action. Types: {\"type\":\"start\"} — begin continuous listening, {\"type\":\"stop\"} — stop listening, {\"type\":\"transcript\",\"since_minutes\":5} — get recent transcript, {\"type\":\"snapshot\",\"duration\":10} — capture N seconds and transcribe now"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "API key for authentication"
},
"vm_name": {
"type": "string",
"description": "Desktop VM name (of-desktop-*)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool call"
}
},
"additionalProperties": false
}Open a URL in Brave on the VM (falls back to Chromium or Firefox if Brave isn't installed on the VM). REQUIRES the QEMU guest agent: the browser is launched inside the guest. Without the agent, run the same steps as ``desktop_interact`` actions — key "ctrl+l", type the URL, key "Return". Do NOT use this to "prove" a kiosk, an autostarted browser, or a homepage: it opens a SECOND browser window, so what appears here says nothing about what the image starts on its own. Screenshot the untouched session instead. Sends Ctrl+L (focus address bar) → types URL → Enter → waits for page load → takes the screenshot and parses elements. This is a convenience tool; the same sequence can be expressed as key/type actions in ``desktop_interact``. To prevent runaway tab accumulation in long-running agent sessions, the tool keeps at most `max_tabs` browser tabs open and closes the oldest one (FIFO) when a new URL would push past the cap. The cap is enforced via Chromium DevTools on loopback inside the VM, so it applies to Brave / Chromium / Edge but not Firefox. Set max_tabs=0 to opt out for one-off sessions.
| Argument | Type | Description |
|---|---|---|
| url* | string | URL to open in Brave (e.g., 'https://example.com') |
| zoom | any | Browser zoom (1.0 = 100%, 0.8 = 80%). Leave unset for smart per-app defaults — dense dashboards like the cto-gui topology graph open at 80% so more fits on screen. Pass an explicit value to override, e.g. 0.8 to zoom out or 1.0 to force 100%. |
| mobile | any | Open in mobile view. true = iPhone (390x844@3 + mobile UA + touch); or a preset name: 'iphone', 'iphone-se', 'android', 'ipad'; or an object {preset?, width?, height?, device_scale_factor?, user_agent?}. The choice sticks to this VM, so later desktop_screenshot and desktop_interact calls stay in mobile view too. Pass false to go back to desktop. |
Run a real vision-language OCR model on a region of the VM's display and return all its text. Returns TEXT ONLY — there is no image in this response. Call ``desktop_screenshot`` when you need to see the pixels. UNLIKE desktop_screenshot (which returns OmniParser's filtered UI-element list — only button and icon labels), this runs a transformer-based OCR model on the raw pixels and returns ALL the text. Use this when you need to: • Read terminal output • Read browser page body content (articles, docs, error messages) • Read dialog body text • Verify exact text that OmniParser's UI filter drops TWO MODES: • Default (include_coordinates=False): Nanonets OCR 2 returns structured markdown with preserved tables, code blocks, headings, and lists. Optimized for READING. • Opt-in (include_coordinates=True): EasyOCR returns per-line text + pixel centers. Optimized for CLICKING on something you read. Region defaults to the full screen. Pass x/y/width/height to OCR a sub-region. Coordinates in `lines[]` responses are always in full-screen pixel space, so the center values can be fed directly to a ``desktop_interact`` click action.
| Argument | Type | Description |
|---|---|---|
| x | integer | Top-left X of region in pixels (default: 0) |
| y | integer | Top-left Y of region in pixels (default: 0) |
| width | integer | Region width in pixels. -1 (default) means 'to the right edge'. |
| height | integer | Region height in pixels. -1 (default) means 'to the bottom edge'. |
| api_key | any | MCP API key |
| vm_name |
Take a screenshot of the VM's display and look at what is on screen. Returns three things: the frame itself as an inline image (downscaled only above 1280 px on the long edge — fleet VMs render 1280x800, so you normally see native pixels), the full-resolution URL, and OmniParser's list of detected UI elements with coordinates in the screenshot's NATIVE resolution. Feed an element's center straight into a ``desktop_interact`` click action. Works on the run's of-test-* VM and needs no guest agent: the frame is captured from the hypervisor's framebuffer, so it also works on a greeter, an installer, or a system whose session is broken. Look at the image before trusting the element list: OmniParser reports what it recognized, not what is on screen. Call this first to orient yourself.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token from a previous tool response |
Speak text aloud on a desktop VM using text-to-speech. Generates speech via the XTTS service and plays it through the VM's audio output. Supports 17 languages and voice cloning.
| Argument | Type | Description |
|---|---|---|
| text* | string | Text to speak aloud on the VM |
| api_key | any | API key for authentication |
| speaker | string | Speaker voice profile name |
| vm_name* | string | Desktop VM name (of-desktop-*) |
| language | string | Language code: en, de, fr, es, it, pt, pl, tr, ru, nl, cs, ar, zh-cn, ja, hu, ko, hi |
| session_token | any | Session token from a previous tool call |
{
"type": "object",
"required": [
"vm_name",
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text to speak aloud on the VM"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "API key for authentication"
},
"speaker": {
"type": "string",
"default": "default",
"description": "Speaker voice profile name"
},
"vm_name": {
"type": "string",
"description": "Desktop VM name (of-desktop-*)"
},
"language": {
"type": "string",
"default": "en",
"description": "Language code: en, de, fr, es, it, pt, pl, tr, ru, nl, cs, ar, zh-cn, ja, hu, ko, hi"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool call"
}
},
"additionalProperties": false
}Start recording a VM's screen to a video file. Runs server-side on the libvirt capture path, so you can keep watching the VM's live VNC console and keep driving it with the desktop_* tools while it records. Returns a recording_id and a video_url (fetchable once stopped). Call desktop_stop_recording(recording_id) to finish.
| Argument | Type | Description |
|---|---|---|
| fps | integer | Frames per second (1-5; default 2) |
| label | any | Optional human label |
| format | string | Video format: mp4 (H.264) or webm (VP9) |
| api_key | any | Your OpenFactory MCP API key (optional) |
| vm_name* | string | Tester/desktop VM to record (of-tester-* / of-desktop-*) |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"fps": {
"type": "integer",
"default": 2,
"description": "Frames per second (1-5; default 2)"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional human label"
},
"format": {
"type": "string",
"default": "mp4",
"description": "Video format: mp4 (H.264) or webm (VP9)"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"vm_name": {
"type": "string",
"description": "Tester/desktop VM to record (of-tester-* / of-desktop-*)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}Stop a recording and finalize the video. Returns the fetchable video_url.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| recording_id* | string | recording_id from desktop_start_recording |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"recording_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"recording_id": {
"type": "string",
"description": "recording_id from desktop_start_recording"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}Type text on your desktop, then return screenshot + elements. The text is typed into whatever field currently has focus. Click on an input field first if needed.
| Argument | Type | Description |
|---|---|---|
| text* | string | Text to type into the currently focused field |
| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| press_enter | boolean | Press Enter after typing (useful for search bars, URL bars) |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token |
| screenshot_delay | number | Seconds to wait after typing before taking screenshot (default: 0.15). |
Compute a diff between two walks. Joins states by content-addressed state_id and findings by dedup_key. Returns added/removed/changed states plus new/resolved/persistent findings, sorted by severity. Cached on first call so subsequent reads are instant.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| use_cache | boolean | Reuse the cached diff on disk if it exists. Set False to force recompute. |
| new_walk_id* | string | The 'after' walk to compare against base. |
| base_walk_id* | string | The 'before' walk (usually your baseline). |
| session_token | any | Session token |
{
"type": "object",
"required": [
"base_walk_id",
"new_walk_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"use_cache": {
"type": "boolean",
"default": true,
"description": "Reuse the cached diff on disk if it exists. Set False to force recompute."
},
"new_walk_id": {
"type": "string",
"description": "The 'after' walk to compare against base."
},
"base_walk_id": {
"type": "string",
"description": "The 'before' walk (usually your baseline)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Disable per-app auth. Doesn't touch the OF_AUTH_* env vars automatically — the operator should call set_app_env(delete=[ 'OF_AUTH_ISSUER', ...]) separately to fully clean up.
| Argument | Type | Description |
|---|---|---|
| purge | boolean | When true, also deletes the user pool. IRREVERSIBLE — all app end-users lost. |
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"purge": {
"type": "boolean",
"default": false,
"description": "When true, also deletes the user pool. IRREVERSIBLE — all app end-users lost."
},
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Stop code-server + remove the ide-<slug> gateway route. Idempotent — calling on an already-disabled IDE is a no-op.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Remove a cloud connection and every account env var it projected. Cloud resources themselves are never touched.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| connection_id* | string | Connection ID from list_cloud_providers. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"connection_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"connection_id": {
"type": "string",
"description": "Connection ID from list_cloud_providers."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Provision per-app OIDC auth + auto-publish ``OF_AUTH_*`` into env. M1 flow: 1. Verify caller owns the app 2. Service.enable() creates realm + client (stub mode by default) 3. App.auth block persisted (NO client_secret — that's in env only) 4. Publish OF_AUTH_ISSUER + OF_AUTH_CLIENT_ID + OF_AUTH_CLIENT_SECRET + OF_AUTH_JWKS_URL via the producer API 5. Return {realm, client_id, issuer_url, jwks_url, env_published, env_keys}. When OPENFACTORY_AUTH_PRODUCER_TOKEN is unset, returns client_secret + env_payload inline (one-shot — discard after use).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID (UUID from create_app). |
| api_key | any | MCP API key |
| providers | any | OIDC sub-providers to enable. Default ['password']. Valid: password, google, github. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"providers": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
],
"default": null,
"description": "OIDC sub-providers to enable. Default ['password']. Valid: password, google, github."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Enable code-server (Web IDE) for the app. Returns the IDE URL at ``https://ide-<slug>.apps.openfactory.tech``. Always private + owner-only by spec (gateway-side enforcement lands in M1.5). Idempotent — calling on an already-running IDE returns the existing binding without re-provisioning.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID (UUID from create_app). |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Provision an owned, lab-scoped browser VM from the platform's pinned tester. The tester uses only the named lab network and consumes the same account allocation. It is ephemeral; remove its node after retaining evidence.
| Argument | Type | Description |
|---|---|---|
| vcpus | integer | |
| lab_id* | string | |
| api_key | any | |
| memory_mb | integer | |
| network_id* | string | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"network_id"
],
"properties": {
"vcpus": {
"type": "integer",
"default": 1
},
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"memory_mb": {
"type": "integer",
"default": 2048
},
"network_id": {
"type": "string"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Get-or-create your desktop tester VM for an app (idempotent). ONE reused VM per app: call with app='<your app>' and you always get the same of-tester-<you>-<app> VM (the same one the app's test-run pool uses). Reuses it if running, restarts it if stopped, creates it from the pinned tester ISO (XFCE + Firefox) if missing. Ordinary testers do not autostart after host reboots and can be reclaimed by idle retention when unleased and unreferenced. Explicitly pinned warm-pool testers retain autostart and pool protection. Delete a tester explicitly with delete_vm when you no longer want it. Ephemeral by default (no persistence disk) so a fresh tester comes up fast and agent-ready within a typical tool-call timeout; pass persistence_gb>0 to add a Zone-2 disk whose contents survive reboots. Then drive it with desktop_open_url / desktop_screenshot / desktop_click etc., and record what you test with start_app_test.
| Argument | Type | Description |
|---|---|---|
| app | any | App this tester is for, e.g. 'knostra'. Identity is tied to the app's URL host (see app_url): you get ONE reused VM per app/host, shared with that app's test-run pool — the same app always returns the same VM. To run more tests at once, scale the app's pool with scale_tester_pool instead of creating extra VMs. |
| vcpus | integer | Virtual CPUs (create only) |
| lab_id | any | Owned private lab; selects a fresh lab-scoped tester rather than an app pool |
| api_key | any | Your OpenFactory MCP API key (optional) |
| app_url | any | The app's URL, e.g. 'https://staging.knostra.ai'. The tester VM is keyed by this URL's host so every run for the same app/env reuses ONE VM. Pass it whenever known; falls back to keying by `app` when omitted. |
List every clickable / interactive element on the active page via DevTools. Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Returns DOM-truth: every <a>, <button>, <form>, <input>, [role=button|link|tab|menuitem], [onclick], [data-testid] with css selector, accessible name, href, viewport flags, disabled flag, and bounding box in CSS pixels. Pair with desktop_screenshot (vision-based, returns what LOOKS clickable) for cross-check: enumerate_dom_links returns what IS clickable. The walker treats DOM enumeration as ground truth and OmniParser bboxes as pixel-coordinate hints.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| vm_name* | string | Your tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-') |
| tab_filter | any | Optional URL prefix to pick which browser tab to query. Defaults to the most-recently-active page tab. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "Your tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-')"
},
"tab_filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional URL prefix to pick which browser tab to query. Defaults to the most-recently-active page tab."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Validate and launch one complete authored plan; no prior submissions or buffer.
| Argument | Type | Description |
|---|---|---|
| plan | any | Complete BuildPlan JSON. Omit in a goal workspace to read .openfactory/build-plan.json. |
| queue | boolean | False validates the authored plan without launching it. |
| api_key | any | OpenFactory MCP API key (optional). |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"properties": {
"plan": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Complete BuildPlan JSON. Omit in a goal workspace to read .openfactory/build-plan.json."
},
"queue": {
"type": "boolean",
"default": true,
"description": "False validates the authored plan without launching it."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}Finalize an app test run with its verdict.
| Argument | Type | Description |
|---|---|---|
| notes | any | Verdict summary (what passed/failed and why) |
| run_id* | string | The app test run ID from start_app_test |
| status* | string | Final verdict: passed | failed | error | skipped |
| api_key | any | Your OpenFactory MCP API key (optional) |
| lease_token | any | If start_app_test leased the VM from the pool, pass the lease_token it returned here to release the VM back to the pool. |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"required": [
"run_id",
"status"
],
"properties": {
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Verdict summary (what passed/failed and why)"
},
"run_id": {
"type": "string",
"description": "The app test run ID from start_app_test"
},
"status": {
"type": "string",
"description": "Final verdict: passed | failed | error | skipped"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"lease_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "If start_app_test leased the VM from the pool, pass the lease_token it returned here to release the VM back to the pool."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}Hand the current phase in. The platform seals its recording. Hands in the phase get_verification_session named. This is irreversible: once finishing is requested the phase cannot be cancelled or reopened. Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims. If the build has an installed phase and you finish the LIVE phase with passed or failed, the platform installs the image to disk and boots it (status installing); poll get_verification_session until the installed phase is ready, show the claims again there, and finish it the same way. Finishing the live phase with error or skipped stops before installation. A failed phase still gets independent grading of its recording and native command facts; its valid checks stay passed, while the artifact cannot be certified. Otherwise the platform judges what was recorded: read the verdict with get_test_results and get_test_run_screenshot(run_id, "session-judge"); only a judged pass of every phase can certify the build.
| Argument | Type | Description |
|---|---|---|
| notes | any | What you verified and anything you could not verify, in plain words |
| status* | string | Phase completion: passed if you found no defects; failed if you found defects after checking the remaining independent claims. Both submit all evidence for independent grading and continue to the installed phase when required. A failed check does not justify ending early. Use error or skipped only when meaningful or safe continuation is blocked; explain why in notes. These stop before installation. |
| api_key | any | Your OpenFactory MCP API key, unless it is already the Authorization header |
| build_id | any |
Generate an encrypted, versioned lab credential; return only its reference. Existing names stage a new version. Explicit deployment references activate it after the application's credential rotation procedure. The owner reveals credentials through the authenticated console, never this MCP response.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| lab_id* | string | |
| api_key | any | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"name"
],
"properties": {
"name": {
"type": "string"
},
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Get one app's full record (source, slug, status, deploy history).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App id from create_app/list_apps |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App id from create_app/list_apps"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Return the current auth binding for the app. NEVER returns the client_secret — use reveal_app_env(name='OF_AUTH_CLIENT_SECRET') if you need it (audited).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Return the build/deploy status for an app plus live iteration-thread state — origin (brief + iterations), current URL, deploy history count, env version drift signal, and each in-flight change's status (queued/working/ done/failed) with the agent's result evidence. For general app inspection, use list_apps() / get_app().
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID from create_app_from_prompt. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID from create_app_from_prompt."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Poll an immutable app variant through build, boot, health, and cutover.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App id from create_app/deploy_app |
| api_key | any | MCP API key |
| deploy_id | any | Deployment id; defaults to latest |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App id from create_app/deploy_app"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"deploy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Deployment id; defaults to latest"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Current IDE binding for the app: enabled flag, URL, status, timestamps. Returns a default off-binding when never enabled.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Get a scenario's full definition, hardened cache, and last run.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| scenario_id* | string | Scenario id from create_app_scenario/list_app_scenarios |
| session_token | any | Session token |
{
"type": "object",
"required": [
"scenario_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"scenario_id": {
"type": "string",
"description": "Scenario id from create_app_scenario/list_app_scenarios"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Full manifest for one template: source git URL, runtime defaults, env-variable spec, declared services, rendered README.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| template_id* | string | Template ID from list_app_templates. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"template_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"template_id": {
"type": "string",
"description": "Template ID from list_app_templates."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Live status of a group re-run: per-scenario status, which VM each ran on, and pass/fail counts. Poll this until status is completed/cancelled/error.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| batch_id* | string | The batch id from run_app_test_group |
| session_token | any | Session token |
{
"type": "object",
"required": [
"batch_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"batch_id": {
"type": "string",
"description": "The batch id from run_app_test_group"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Get one app test run, including per-step verdicts and screenshot refs.
| Argument | Type | Description |
|---|---|---|
| run_id* | string | The app test run ID |
| api_key | any | Your OpenFactory MCP API key (optional) |
| include_steps | boolean | Include the full step list (False = header only) |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "The app test run ID"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"include_steps": {
"type": "boolean",
"default": true,
"description": "Include the full step list (False = header only)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}Get the full walk record: status, totals, states, transitions, findings.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| walk_id* | string | Walk id returned by walk_app. |
| session_token | any | Session token |
| include_states | boolean | Include the list of ExplorationState records. |
| include_findings | boolean | Include the list of Finding records. |
| include_task_tree | boolean | Include CoT task nodes/tree for mode='cot' walks. |
| include_transitions | boolean | Include the list of ExplorationTransition records. |
{
"type": "object",
"required": [
"walk_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"walk_id": {
"type": "string",
"description": "Walk id returned by walk_app."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"include_states": {
"type": "boolean",
"default": true,
"description": "Include the list of ExplorationState records."
},
"include_findings": {
"type": "boolean",
"default": true,
"description": "Include the list of Finding records."
},
"include_task_tree": {
"type": "boolean",
"default": false,
"description": "Include CoT task nodes/tree for mode='cot' walks."
},
"include_transitions": {
"type": "boolean",
"default": true,
"description": "Include the list of ExplorationTransition records."
}
},
"additionalProperties": false
}Capture browser diagnostics — console errors, failed requests, page health. Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Snapshot mode (collect_duration_ms=0) returns the current page's URL, title, viewport metrics, performance timing, document size, ready state, and the contents of window.__ofErrors if a page hook has populated it. Live-collect mode keeps the CDP session open and captures Log entries (>= warning), console.error/warn calls, uncaught exceptions, network loading failures, and 4xx/5xx responses that fire during the window. Typical use from a walker: call right after a state transition with collect_duration_ms=2000 to capture errors triggered by the page settling.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| vm_name* | string | Your tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-') |
| tab_filter | any | Optional URL prefix to pick which browser tab to query. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| session_token | any | Session token |
| collect_duration_ms | integer | If > 0, keep the DevTools session open for this many ms collecting console errors, exceptions, and failed network requests. 0 = snapshot only (no live collection). Clamped to [0, 10000]. |
Get full details of a specific build including its recipe. Use this to see the complete configuration of a build, including the recipe, packages, and all settings. Also returns the originating chat pointer (`conversation_id`, `conversation_title`) and the redacted user prompt (`originating_request`) when those were stored. `overall_status` is this build's own outcome and `build_goal_state` its goal's, as get_build_status describes.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id* | string | The build ID to retrieve |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"build_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"type": "string",
"description": "The build ID to retrieve"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}Read a build's durable evidence: why it failed, or why it was certified. Explicit `file="source:fedora_build.sh"` reads a bounded, allowlisted root entrypoint from this authorized build's current worktree. This returns `source_scope="current_build_source"`, not a committed-source guarantee. Omitted `file` never reads or includes build source. Two things live here, and either may be empty. `goal_completion` is the record of a goal's completion. When a goal agent called `complete_goal`, this is the summary and the verbatim evidence it attached — the test run id, the assertions it read, and what it checked by hand. It is the audit trail for "this goal was declared finished", and this tool is the only place it can be read in full: the owner's goal feed stores a sanitized copy capped at 1200 characters. It stays when a later recipe edit, rebuild or failed re-test withdraws the build's certificate; `certification_status` is the certificate as the build row has it now. `evidence` is the diagnostic output harvested off the build's worktree before deletion. This is the evidence for a build-script *result contract* failure — the build produced an ISO, but something the recipe declared did not actually happen inside it: a first-run application install that never completed, a GNOME extension that could not be installed. Those failures set `certification_status` to "uncertified" and write `verification_error`; they do NOT produce a test run, so `get_test_results` has nothing for them and their absence is not evidence of health. What you get, when the build recorded it: * `of-firstrun-gui-session.log` — the only account of what the app actually did. The GUI autostart has no terminal, so without this the serial console shows a boot and a poweroff with a silent gap where the failure is. Carries $HOME, the app's own log tail, DNS and egress, surviving processes, any blocking dialog, and the launcher source. * `of-firstrun-vm-phase.log` — the first-run phase as the VM saw it. * `of-nspawn-boot.log` — the container boot around it. * `of-boot-session-results.txt` — Debian/Fedora graphical-session contract results, including the precise rejected harvest or failed proof. Each is the last 12 KB of that file, captured at build end. Empty `evidence` means nothing was harvested for this build, which is the normal case for a build whose contracts all passed. A failed image build carries `failed_hook` and `failure_excerpt`. For an existing failed remote assembly, this explicit evidence read recovers its bounded terminal log window using the current build's own owner and attempt binding; it launches no work. Status polling remains local. `file` selects one of these by name; it does not apply to `goal_completion`, which is always returned whole. An unresolved execution's `execution_failure.ownership_diagnostics` is a closed current-attempt recovery reason and observation-freshness boolean. It discloses no process, worker or lease identity, clears no fence and launches no recovery or image work. `native_diagnostics` adds a read-only current-attempt summary of retained native-remaster logs. Only fixed categories, boolean markers and bounded counts are returned; private log text, commands, paths and values are never disclosed. Unavailable or unclassified diagnostics establish no cause and do not change build or certification outcomes. `admission_diagnostics` probes transport for this build's saved pending verification launch. It returns only fixed error classes and HTTP status codes, never endpoints, credentials, response bodies or exception text. It creates no run and changes no admission, budget or test outcome. `goal_hold` reports a fixed classification and boolean observations for this build's owner-bound goal. Unknown or unavailable observations never authorize clearing a hold or retrying a refused operation. No private goal context, instruction text or exception details are returned. `queue_diagnostics` projects only the native queue reason/detail and job status for this owner's current attempt. Unavailable or mismatched facts remain unknown; no worker identity, capacity counts or queue message is returned, and this read never dispatches or changes scheduling. `test_network_diagnostics` reads closed native allocator/attachment counts only for an exact owner-bound infrastructure-failed run and artifact. A fresh completed native collector observation may accompany them. This read performs no allocation or collection, and unknown ownership remains unknown.
Read a build group's per-node child statuses (fresh, merged).
| Argument | Type | Description |
|---|---|---|
| api_key | any | OpenFactory MCP API key (optional). |
| group_id* | string | The build group to inspect. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"group_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"group_id": {
"type": "string",
"description": "The build group to inspect."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}Get the current status of a build. Returns the build stage (e.g., preparing, building, testing) and any current progress information. IMPORTANT: check `test_status` as well as `status` — a build can be "built" (the ISO exists) while automated verification FAILED or ERRORED. Treat test_status of "failed"/"error" as a problem to surface to the user; `test_detail` carries the failure message. `diagnostic_next_tool="get_test_results"` takes `latest_test_run_id`. `diagnostic_next_tool="get_build_evidence"` takes `build_id`; rejected admissions reserve a run id without creating a test result. `overall_status` is this build's own outcome, read from its row, and is what says whether the build is certified now: `built_unverified` means the row records a certification other than certified, even when a run passed. `build_goal_state` is the state of the goal that owns the build. An accepted recipe or checklist change withdraws the old certificate and reopens a completed hosted goal in its existing thread, preserving budgets and historical verdicts. A failed image build carries `failed_hook` (the hook that stopped it, when one did) and `failure_excerpt` (that hook's output, else the current terminal error or build log's causal summary). Read them before changing config/ or building again. A build-script contract failure (first-run app install, GNOME extensions) does not produce a test run at all — it sets `certification_status` to "uncertified" and leaves its harvested logs on the build. Call `get_build_evidence` for those before concluding there is nothing to read.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id* | string | The build ID to check |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
Fetch a single checkpoint (pending or resolved) by id. Used by the walker / runner to poll for the verdict on a checkpoint it created.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| checkpoint_id* | string | Checkpoint id. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"checkpoint_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"checkpoint_id": {
"type": "string",
"description": "Checkpoint id."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Read your purchased hosted allowance, own usage and remaining budget. Returns no physical host capacity or other customers. Allowance is not dedicated hardware availability. Free accounts can inspect this report.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| session_token | any |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Read the feature library: the JSON, the hook, and its companion files. This is a READER. It returns facts and decides nothing -- no recommended feature, no ranking, no "you probably want". You author ``config/`` from the recipe yourself; this is where you look up what a feature actually installs before you do. With no ``feature_ids`` it returns the index (id, display name, category) of every packaged feature, optionally filtered by ``category``. With ``feature_ids`` it returns every requested reference together under ``references``. Use one call for the complete selected feature set. Each reference contains: * ``feature`` -- the parsed feature JSON, and ``feature_json`` its verbatim text. Package lists are per distro (``packages.debian``, ``.ubuntu``, ``.fedora``, ``.opensuse``, optional ``.arch``); ``env_var`` is the ``ENABLE_<X>`` flag its hook gates on; ``third_party_repo`` declares an APT repo and its keyring. * ``hook`` -- the verbatim text of ``app/hooks/<category>/<feature>.sh`` when the feature ships one, with ``hook_path``. Most features ship none: a package list is the whole feature. * ``companions`` -- ``{filename: text}`` for the ``<stem>-*.sh`` / ``<stem>-*.py`` files that are copied beside the hook. A hook read without them is incomplete. **Place them differently from the hook**: the hook is written to ``config/hooks/live/NNNN-<feature>.chroot``, but a companion goes to ``config/hooks/live/<filename>`` UNNUMBERED, keeping the exact name returned here, and the mode follows the suffix -- ``.sh`` is 0755 because the hook sources or executes it, ``.py`` is 0644 because the hook installs it into the image rather than running it in the chroot. Renaming, number-prefixing or 0755-ing a ``.py`` breaks the hook, which refers to it by exact name. There is no ``generator`` key and no Python escape hatch. A feature is its package lists, its hook and the files that hook reads; where a hook reads a staged manifest its own header names the packaged asset template and the slots to fill in the installed ``openfactory-build`` skill references. Copy a hook body verbatim when you use it. Paraphrasing a hook loses the distro workaround it was written for, and those workarounds are why the hook exists.
| Argument | Type | Description |
|---|---|---|
Read one FixIntent (status, target_file, suggested_patch, apply_result).
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| intent_id* | string | FixIntent id. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"intent_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"intent_id": {
"type": "string",
"description": "FixIntent id."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Fetch a packaged OpenFactory harness skill (instructions + references). Remote sessions have no filesystem access to this host, so the canonical skill markdown is served in-band. Follow the returned skill exactly as if it were installed locally; ``references`` carries its companion files.
| Argument | Type | Description |
|---|---|---|
| name* | string | Packaged skill name: openfactory-compute (you drive the loop over MCP — start here), openfactory-build (platform-launched goal sessions), policy-system-generation, policy-control-authoring, or policy-document-publication. |
| api_key | any | OpenFactory MCP API key (optional). |
| resource_path | any | Optional companion path from resources, such as examples/reference.html or assets/logo.svg. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Packaged skill name: openfactory-compute (you drive the loop over MCP — start here), openfactory-build (platform-launched goal sessions), policy-system-generation, policy-control-authoring, or policy-document-publication."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"resource_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional companion path from resources, such as examples/reference.html or assets/logo.svg."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}Get artifact access details for a completed build. Returns a browser download URL when the caller has export access, or a structured account/Builder action when they do not. The build must be in a terminal 'built' or 'completed' status.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id* | string | The build ID |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"build_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"type": "string",
"description": "The build ID"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}Read one owned lab's nodes, private networks, secret metadata and evidence lineage.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Read an owned lab role's private deployment status and pinned provenance.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| node_id* | string | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id",
"node_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"node_id": {
"type": "string"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Return the tail of one package's OBS build log. The default is a bounded current snapshot, never a stream. Set last_completed=true to inspect the last finished native build even while dependencies have scheduled another one. It is historical diagnostic output, not proof that the current source is published. Counts describe that retrieved window, not the complete historical log. To find a failure outside the tail, supply repository, start_byte and literal search_text; next_byte_offset advances one bounded window, and matches include context. Preserve overlap when searching a string across adjacent byte windows. The tail is where a build log says why it failed; the head is boilerplate chroot setup. This returns lines only -- read them, decide what is wrong, fix the source in your repository, ``publish_internal_repository``, and resubmit the same project at the new revision.
| Argument | Type | Description |
|---|---|---|
| arch | string | Build architecture. |
| package* | string | OBS package name returned by submit_obs_package. |
| project* | string | Full OBS project path returned by submit_obs_package. |
| repository | any | OBS repository such as Debian_13. Defaults to the first repository OBS reports a result for. |
| start_byte | any | Optional bounded historical search offset. Requires repository and search_text. |
| tail_lines | integer | How many trailing log lines to return (max 2000). |
Read what OBS currently says about one package. One read, no waiting. Returns the raw per-repository/per-architecture rows plus a single collapsed ``status`` (``queued``, ``building``, ``succeeded``, ``failed``, ``unresolvable``, ``broken``) and whether the resulting APT repository is actually servable. ``succeeded`` and ``published`` are two different facts and this tool keeps them apart. OBS reports a package as built well before the publisher has written a signed index, and live-build's first ``apt-get update`` against a repository with no ``Release``/``Packages``/``Release.key`` is fatal. Only ``published: true`` means an ISO may pull from ``repo_url``. When the submission record carries the revision you asked for, ``published`` additionally requires binaries stamped with *that* revision to be in the index, so a stale prior build cannot look like your new one. Binary names come from that exact source revision's Debian manifest; all of them must be present with the expected revision, even when none shares its name. RPM/APK publication instead requires the exact uploaded source marker and clean, successful, published native results for every requested architecture, in addition to a servable native index. Old dirty or pending jobs never establish publication of a new submission. This tool never tells you what to do next. "queued" does not mean wait, "failed" does not mean regenerate -- you have the recipe, the source and the log, and the decision is yours.
| Argument | Type | Description |
|---|---|---|
| package* | string | OBS package name returned by submit_obs_package. |
| project* | string | Full OBS project path returned by submit_obs_package, or build:<UUID> to observe this account's package project for an authorized build. The alias does not prove an unrecorded source revision. |
| include_repository_key_digest | boolean |
Long-poll for the oldest pending harness checkpoint visible to the caller. Returns ``{checkpoint: {...} | null, pending_count: int}``. The checkpoint's ``prompt`` + ``context`` (which includes proposed scenario_steps + finding + screenshot_url for mining checkpoints, or step_index + step_description for replay checkpoints) is what the harness should evaluate. Then call ``submit_scenario_checkpoint(checkpoint_id, verdict, …)`` to resume the paused walker / runner. Common harness loop: while walking: r = get_pending_checkpoint(walk_id=walk_id, wait_seconds=25) cp = r.get("checkpoint") if not cp: continue # Read screenshot URL, inspect proposed scenario, etc. verdict = "pass" if scenario_looks_solid else "fail" submit_scenario_checkpoint(cp["checkpoint_id"], verdict=verdict, notes=…)
| Argument | Type | Description |
|---|---|---|
| run_id | any | Filter pending checkpoints to this scenario run_id. |
| api_key | any | MCP API key |
| walk_id | any | Filter pending checkpoints to this walk_id. Mutually exclusive with run_id; one of them should be set. |
| wait_seconds | integer | Long-poll budget (0-25 s). When 0, returns immediately with whatever's pending. Default 25. |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter pending checkpoints to this scenario run_id."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"walk_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter pending checkpoints to this walk_id. Mutually exclusive with run_id; one of them should be set."
},
"wait_seconds": {
"type": "integer",
"default": 25,
"description": "Long-poll budget (0-25 s). When 0, returns immediately with whatever's pending. Default 25."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Read a platform fix record: status (running | implemented | staging | staged | landing | landed | failed | stage_failed | land_failed), commit, changed files, staging/prod URLs, error details.
| Argument | Type | Description |
|---|---|---|
| fix_id* | string | Platform fix id from platform_fix_start. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"fix_id"
],
"properties": {
"fix_id": {
"type": "string",
"description": "Platform fix id from platform_fix_start."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Get full details of a specific recipe. Returns the complete recipe including all packages, services, and configuration. Use this to understand what a recipe contains before using it as a template for a build.
| Argument | Type | Description |
|---|---|---|
| recipe_id* | string | The recipe ID (name) to retrieve |
| session_token | any | Optional continuity token returned by other OpenFactory tools. |
{
"type": "object",
"required": [
"recipe_id"
],
"properties": {
"recipe_id": {
"type": "string",
"description": "The recipe ID (name) to retrieve"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional continuity token returned by other OpenFactory tools."
}
},
"additionalProperties": false
}Get a recording's status + metadata (status, duration_ms, size_bytes, video_url).
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| recording_id* | string | recording_id to inspect |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"recording_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"recording_id": {
"type": "string",
"description": "recording_id to inspect"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}Read complete retained test evidence in bounded pages, even after VM expiry.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum characters to return |
| offset | integer | Character offset in redacted evidence |
| run_id* | string | Test run whose saved evidence should be read |
| api_key | any | |
| evidence_id | string | Evidence ID from get_test_results; index lists all retained evidence |
| session_token | any |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 16384,
"maximum": 65536,
"minimum": 1,
"description": "Maximum characters to return"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Character offset in redacted evidence"
},
"run_id": {
"type": "string",
"description": "Test run whose saved evidence should be read"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"evidence_id": {
"type": "string",
"default": "index",
"description": "Evidence ID from get_test_results; index lists all retained evidence"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Get the results of a test run. Returns bounded individual assertion evidence, a deterministic failure classification, VM/snapshot information, and the exact next diagnostic tools. A failed run with ``results`` populated has usable evidence even when the optional legacy ``logs`` string is absent.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Assertion page size; get_test_evidence reads full output |
| offset | integer | Assertion offset in failure-first order |
| run_id* | string | The test run ID |
| api_key | any | Your OpenFactory MCP API key (optional) |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"limit": {
"type": "integer",
"default": 32,
"maximum": 100,
"minimum": 1,
"description": "Assertion page size; get_test_evidence reads full output"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Assertion offset in failure-first order"
},
"run_id": {
"type": "string",
"description": "The test run ID"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}Return an assertion frame, recorded final display, or resumed live display. This does not require a reachable guest agent. Use it to inspect visual evidence before deciding whether a failed assertion belongs to the image or to the verifier/platform.
| Argument | Type | Description |
|---|---|---|
| run_id* | string | The test run ID whose final/live display to inspect |
| api_key | any | Your OpenFactory MCP API key (optional) |
| assertion_id | any | Optional results[].screenshot_id for the exact per-assertion frame; for v2, a listed v2-step-* or v2-final frame is also accepted; omit for the run's final/live display |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "The test run ID whose final/live display to inspect"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"assertion_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional results[].screenshot_id for the exact per-assertion frame; for v2, a listed v2-step-* or v2-final frame is also accepted; omit for the run's final/live display"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}Read your goal's verification session: its state, its VM, and what it is graded on. Your build is verified by ONE recorded session that you drive yourself, on the of-test-* VM named here. That `vm_name` is the `vm_name` argument of every desktop_screenshot, desktop_read_region, desktop_interact, desktop_open_url and guest_command call you make for this build — there is no other machine, and you do not create one. Driving your own build from an outside MCP client, pass its `build_id` (and your account key) to all four session tools; the platform judge grades your recording just the same. `status` is provisioning (the platform is booting the image), ready (drive it), installing (the platform is installing to disk; hands off), judging (handed in), or the terminal verdict passed/failed/error. `admission_pending` means the saved launch has no run record yet; retry the `diagnostic_next_tool` on the same image. Failed artifact finalization requires build_image before a verification launch can be admitted. `intent_items` are the claims the platform judge will grade the recording against: walk them one at a time and record a step for each, passing its `id` in `intent_item_ids`. Each item's `rule` is how it is graded: platform (decided by the platform's own root check; a bound terminal frame is optional, shown beside the platform's result), evidence (one clear frame of it, and no later frame contradicting it, so the screen you finish on decides the no-dialog claim; a claim about how the desktop looks counts only as the desktop renders it, never as on-screen text naming the value), console (shown on the text console). A feature item's `assertion` is the check behind the claim -- its `type` and `params` name the package, command or path to show. `required` false means the judge not seeing this claim (insufficient) does not fail the run; a claim it sees contradicted still fails it. `seconds_remaining` and the budget are the platform's, not yours. `delivery` is the platform's current evidence-based decision on policy 2: verified, ready_with_limitations, or blocked. Ready with limitations can finish through complete_goal after disclosing all limitations; it grants no full certificate and never changes last_verdict. `interpretations` are the audited finite readings of vague owner preferences. `last_verdict` is None until the judge has graded the run; then it holds `overall`, the `termination` reason, `counts`, and per item its `outcome` (pass | fail | insufficient | infra), `reason`, what was `missing` and the `frames` it was graded on. `sessions_left_on_this_artifact` is how many more judged sessions these exact bytes allow after this run (a run still open counts as one that will be judged; one the platform ends as an error is not charged). At 0 only a changed image can be verified again: start_verification_session refuses. It is None for a build-group node, whose group keeps its own count. `status` refused means the platform would not launch a session for this artifact at all: `refusal` holds the reason, the exact refusal text and the next step. Nothing will open until the image changes. A failed run can have no session because provisioning stopped first. `error_message` and `diagnostic_next_tool` then point to its evidence: inspect that run before deciding whether the image or platform needs repair. When its `failure_kind` is infrastructure the platform failed it, and `message` says what to do instead. `phase` is live or installed (installing between them). `installed_phase` says whether this build's admitted intent includes the installed system; when it is true the session has TWO phases on this one run: finish the live phase with finish_verification_session and the platform installs the image to disk and boots the installed system (`install` shows its progress; the VM refuses input meanwhile). Poll until status is ready again with phase installed, then show every listed claim again on the installed system -- the judge grades that recording separately -- and finish once more. Both phases must pass to certify. If `installed_phase` is false but the owner requires installation, use revise_verification_checklist to add required `phase: "installed_system"` checks with an enabled drivable installer. A textual installed claim with the default live phase does not schedule installation. This is the supported checklist revision path, and preserves existing checks and budgets. `status` artifact_check means a phone image, which has no session at all: `artifact_checks` are the sealed checks it is certified on, and `run_id` is the run complete_goal certifies. `status` no_verification_run means a Raspberry Pi image, which has neither: say so plainly in the chat and end your turn.
Get the VNC console URL for a VM. Returns a URL that can be used to connect to the VM's graphical console.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| vm_name* | string | The VM name |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"vm_name": {
"type": "string",
"description": "The VM name"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}Read an owner VM's memory, CPUs, disk, display, guest-agent state and plan caps. Read-only. Use it before proposing a hardware change, and to explain to the owner what their VM has and what their plan allows.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| vm_name* | string | Name of the owner's VM, e.g. of-deploy-… |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"vm_name": {
"type": "string",
"description": "Name of the owner's VM, e.g. of-deploy-…"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}Read progress for an install-to-disk VM deployment.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| session_token | any | Session token from a previous tool response |
| install_job_id* | string | Install job ID returned by create_vm |
{
"type": "object",
"required": [
"install_job_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
},
"install_job_id": {
"type": "string",
"description": "Install job ID returned by create_vm"
}
},
"additionalProperties": false
}Get the current baseline walk for an app (your own pin). Returns {baseline: null} if none set.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| app_name* | string | App name to look up the baseline for. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"app_name": {
"type": "string",
"description": "App name to look up the baseline for."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Token-bounded digest of a walked website: status + coverage, the site state tree (routes, titles, inbound actions, per-node finding counts), a findings digest (top by severity), a capability inventory (forms, inputs, internal/external links), a console/HTTP error rollup, the structural ``tree_hash``, and active-baseline status. Safe to call on any walk without blowing context (unlike the raw get_app_walk dump).
| Argument | Type | Description |
|---|---|---|
| api_key | any | OpenFactory MCP API key. |
| walk_id* | string | Walk id from walk_site / walk_app. |
| max_findings | integer | Cap on findings returned (1-200). |
| session_token | any | Session token echoed by a prior tool. |
| max_tree_nodes | integer | Cap on site-tree nodes returned (1-500). |
{
"type": "object",
"required": [
"walk_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key."
},
"walk_id": {
"type": "string",
"description": "Walk id from walk_site / walk_app."
},
"max_findings": {
"type": "integer",
"default": 50,
"description": "Cap on findings returned (1-200)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token echoed by a prior tool."
},
"max_tree_nodes": {
"type": "integer",
"default": 200,
"description": "Cap on site-tree nodes returned (1-500)."
}
},
"additionalProperties": false
}Run commands and manage files on a VM via the QEMU guest agent. This tool provides direct access to VMs without SSH — it uses the QEMU guest agent to execute commands, read/write files, and manage systemd services. The VM must be running and have the guest agent installed. Use this for server administration, configuration, debugging, and automation tasks on VMs managed by OpenFactory.
| Argument | Type | Description |
|---|---|---|
| path | any | Path for `file_read` or `file_write`. |
| type | any | Preferred structured action type. Supported values: `ping`, `exec`, `file_read`, `file_write`, `systemd_status`, `systemd_action`. |
| action | string | Legacy JSON action object. Preferred usage is the structured fields below (`type`, `command`, `script`, etc.). Supported types: {"type": "ping"} — Check if guest agent is available {"type": "exec", "command": "ls -la /tmp"} — Run a shell command (optional: "timeout": 60) {"type": "exec", "script": "#!/bin/bash\nset -e\nwhoami\npwd"} — Run a multiline bash script without client-side shell escaping {"type": "file_read", "path": "/etc/hostname"} — Read a file from the VM {"type": "file_write", "path": "/tmp/hello.txt", "content": "hello world"} — Write a file {"type": "systemd_status", "service": "sshd"} — Get service status {"type": "systemd_action", "service": "sshd", "action": "restart"} — Start/stop/restart/enable/disable a service Examples: {"type": "exec", "command": "df -h"} {"type": "file_write", "path": "/tmp/test.sh", "content": "#!/bin/bash\necho hello"} {"type": "systemd_status", "service": "nginx"} |
| script | any | Multiline bash script for `type="exec"`. The server stages it in the guest and runs it, which avoids nested JSON and shell escaping. |
Return the saved boot contact sheet and selected GRUB/Plymouth frames. Assertion-time evidence is a 0.5-second contact sheet of the native boot recording so the visual judge can see GRUB and Plymouth even when a single selected cell is firmware or a login TTY. Cells are large enough to read a GRUB menu, and the recorder follows guest GOP resizes instead of cropping to the 640x480 handshake. A recapture is diagnostic only: it adds frames and never revises the original assertion verdict. If the VM expired or now boots a different medium, rerun the same verification contract rather than substituting an unrelated VM.
| Argument | Type | Description |
|---|---|---|
| run_id* | string | Test run whose early boot screens to inspect |
| api_key | any | |
| surface | string | Boot medium: live or installed |
| recapture | boolean | Reboot the exact retained test VM and save fresh frames; false reads the assertion-time evidence without touching the VM |
| session_token | any |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Test run whose early boot screens to inspect"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"surface": {
"type": "string",
"default": "live",
"description": "Boot medium: live or installed"
},
"recapture": {
"type": "boolean",
"default": false,
"description": "Reboot the exact retained test VM and save fresh frames; false reads the assertion-time evidence without touching the VM"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Read the disk a test run installed, while its VM is shut off. Use it when a run reports that the installed disk did not boot or that its guest agent never connected: the disk shows whether the installer wrote a bootable system (and whether that system then booted) or whether the fault is the platform's. It is read-only and never changes a verdict. Operations: ``summary`` (filesystems, what inspection mounted, /etc/os-release, /boot/efi/EFI, /boot/loader/entries); ``ls`` and ``cat`` of a path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d (``cat`` returns at most the last 64 KiB); ``journal`` (the installed system's last 400 journal entries). A running VM, or one the run no longer retains, is answered with a sentence. If a finished failed run's VM is still running, set ``quiesce_failed=True`` to stop that disposable test VM before inspection. Active tests are refused.
| Argument | Type | Description |
|---|---|---|
| path | any | For ls/cat: an absolute path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d |
| vm_id | any | Logical VM of the run; defaults to primary |
| run_id* | string | Test run whose installed disk to read |
| api_key | any | |
| operation | string | summary, ls, cat or journal |
| session_token | any | |
| quiesce_failed |
Create a new app from the template. Returns the new app_id + declared_services list. Caller chains add_app_database / add_app_bucket / enable_app_auth for any declared services, then deploy_app(app_id) to bake a fresh variant and bring the app live.
| Argument | Type | Description |
|---|---|---|
| env | any | Non-secret env values from the form (e.g. NEXT_PUBLIC_APP_NAME='My App'). Keys must be in the template's env spec. Secrets are NOT seeded here — use set_app_env(secret_key, value) after for those. |
| name | any | Display name; derived from template if omitted. |
| api_key | any | MCP API key |
| template_id* | string | Template ID from list_app_templates. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"template_id"
],
"properties": {
"env": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Non-secret env values from the form (e.g. NEXT_PUBLIC_APP_NAME='My App'). Keys must be in the template's env spec. Secrets are NOT seeded here — use set_app_env(secret_key, value) after for those."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Display name; derived from template if omitted."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"template_id": {
"type": "string",
"description": "Template ID from list_app_templates."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Dispatch a natural-language change to an app and have it applied for you. A repair agent reproduces, applies the change to the app deployed in its sandbox VM, redeploys, and verifies. Works on any app you own that has a git source. Poll ``get_app_build_status(app_id)`` for the live thread status (queued -> working -> done/failed). Persisting the change back to your git repo (via a connected GitHub integration) is a follow-up capability.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID (from create_app or create_app_from_prompt). |
| api_key | any | MCP API key |
| thread_id | any | Optional prior thread id to continue an existing request. |
| instruction* | string | What to change in plain language. Examples: 'make the header green', 'add a CSV export button', 'fix the broken submit button'. A repair agent applies the change to the app in its sandbox VM and redeploys. |
| session_token | any | Session token |
| context_envelope | any | Optional context about where the change applies (route, page, etc.). |
{
"type": "object",
"required": [
"app_id",
"instruction"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID (from create_app or create_app_from_prompt)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"thread_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional prior thread id to continue an existing request."
},
"instruction": {
"type": "string",
"description": "What to change in plain language. Examples: 'make the header green', 'add a CSV export button', 'fix the broken submit button'. A repair agent applies the change to the app in its sandbox VM and redeploys."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"context_envelope": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Optional context about where the change applies (route, page, etc.)."
}
},
"additionalProperties": false
}Land a staged fix to production: verifies the green-scenario gate and that every commit names the fix that produced it (Openfactory-Goal), then pushes via the blessed pipeline (monorepo: ai-deploy; openfactory.tech: fast-forward main + push). Returns immediately — poll get_platform_fix until 'landed', wait out the deploy, then re-run the scenario against the production URL.
| Argument | Type | Description |
|---|---|---|
| fix_id* | string | Platform fix id (status must be 'staged'). |
| api_key | any | MCP API key |
| scenario_id* | string | Regression scenario id covering this fix. |
| session_token | any | Session token |
| scenario_run_id* | string | A PASSED run id of that scenario (against the staging URL), <24h old. Landing is refused without a green run. |
{
"type": "object",
"required": [
"fix_id",
"scenario_id",
"scenario_run_id"
],
"properties": {
"fix_id": {
"type": "string",
"description": "Platform fix id (status must be 'staged')."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"scenario_id": {
"type": "string",
"description": "Regression scenario id covering this fix."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"scenario_run_id": {
"type": "string",
"description": "A PASSED run id of that scenario (against the staging URL), <24h old. Landing is refused without a green run."
}
},
"additionalProperties": false
}List account-level env vars (shared defaults across all your apps). These flow into every app deploy BEFORE app-level vars (app overrides on collision). Use for shared secrets like a personal API key that multiple apps need. Returns ``{entries: [{name, value:"********", source, updated_at}]}``.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List buckets provisioned for an app (metadata only — no secret_keys).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List databases provisioned for an app (metadata only — no passwords).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List the app's env vars (masked — values returned as ``********``). Returns ``{entries: [{name, value:"********", source, producer, updated_at}], env_version, applied_env_version}``. Use ``reveal_app_env`` to decrypt a specific value (audited).
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID (UUID from create_app). |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List your saved GUI test scenarios.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max scenarios to return (1-200) |
| api_key | any | MCP API key |
| app_name | any | Filter by app key |
| project_id | any | Filter by project (proj-… id) |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"description": "Max scenarios to return (1-200)"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"app_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by app key"
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by project (proj-… id)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Browse the app-templates gallery. No auth required — templates are public read. Returns summaries (id, name, description, category, tags, declared_services). Fetch full manifests via get_app_template.
| Argument | Type | Description |
|---|---|---|
| q | any | Free-text search across name + description + tags. |
| api_key | any | MCP API key |
| category | any | Filter by category: web | api | fullstack | static | job | data |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"q": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Free-text search across name + description + tags."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by category: web | api | fullstack | static | job | data"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List app test runs (newest first), or the per-scenario verdict rollup. Use summary=True to compare results across runs/commits for each app_name + scenario pair.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max runs to return (1-200) |
| status | any | Filter by status (running/passed/failed/error/skipped) |
| api_key | any | Your OpenFactory MCP API key (optional) |
| summary | boolean | True → grouped per app/scenario history (the benchmark view) |
| app_name | any | Filter by app key |
| scenario | any | Filter by scenario key |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
| parent_test_run_id | any | Filter supporting tests by exact deployment test run ID |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Max runs to return (1-200)"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by status (running/passed/failed/error/skipped)"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"summary": {
"type": "boolean",
"default": false,
"description": "True → grouped per app/scenario history (the benchmark view)"
},
"app_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by app key"
},
"scenario": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by scenario key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
},
"parent_test_run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter supporting tests by exact deployment test run ID"
}
},
"additionalProperties": false
}List walks visible to the caller (own walks; admins see all).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max walks to return (1-200). |
| status | any | Filter by status: running | completed | stopped | error. |
| api_key | any | MCP API key |
| app_name | any | Filter by app key. |
| project_id | any | Filter by project id. |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Max walks to return (1-200)."
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by status: running | completed | stopped | error."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"app_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by app key."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by project id."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List your registered apps.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List your OpenFactory builds. Returns a list of your builds with basic information like name, status, and features. Use get_build for full details including the recipe.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of builds to return |
| api_key | any | Your OpenFactory MCP API key (optional) |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
| status_filter | any | Filter by status: queued, ready_to_build, building, built, failed |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Maximum number of builds to return"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
},
"status_filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by status: queued, ready_to_build, building, built, failed"
}
},
"additionalProperties": false
}List checkpoints for an app (newest first) + per-app storage usage.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List cloud instances (EC2 / Compute Engine / Azure VMs) for your connected providers, normalized to one schema.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| connection_id | any | Limit to one connection; omit for instances across ALL connected providers. |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"connection_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Limit to one connection; omit for instances across ALL connected providers."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List your connected cloud providers (credentials always redacted).
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List your FixIntents, newest first. Optional walk_id filter.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| walk_id | any | Optional filter: only intents for this walk. |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"walk_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional filter: only intents for this walk."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}List internal repositories owned by this harness tenant.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}List owned lab credential names and versions without plaintext values.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}List only your private labs, with their retained versioned declarations.
| Argument | Type | Description |
|---|---|---|
| api_key | any | |
| session_token | any |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}List all available recipe categories. Returns categories with labels and descriptions to help find the right type of recipe.
| Argument | Type | Description |
|---|---|---|
| session_token | any | Optional continuity token returned by other OpenFactory tools. |
{
"type": "object",
"properties": {
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional continuity token returned by other OpenFactory tools."
}
},
"additionalProperties": false
}List available pre-built recipes. OpenFactory provides ready-to-use recipes for common use cases like healthcare systems, industrial automation, AI development, and more. Use search/category to narrow the result, offset for the next page, and get_recipe to see full details of a specific recipe. This tool never emits the entire catalog in one response.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum summaries to return (default 20, maximum 50). |
| offset | integer | Zero-based catalog offset; add limit to request the next page. |
| search | any | Search term to filter recipes by name or description |
| category | any | Filter by category: healthcare, industrial, education, municipal, research, ai-development |
| session_token | any | Optional continuity token returned by other OpenFactory tools. |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum summaries to return (default 20, maximum 50)."
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Zero-based catalog offset; add limit to request the next page."
},
"search": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Search term to filter recipes by name or description"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by category: healthcare, industrial, education, municipal, research, ai-development"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional continuity token returned by other OpenFactory tools."
}
},
"additionalProperties": false
}List recordings for a VM, newest first.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| vm_name* | string | Tester/desktop VM whose recordings to list |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"vm_name": {
"type": "string",
"description": "Tester/desktop VM whose recordings to list"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}List test runs for your builds. Returns test runs sorted by creation date (newest first).
| Argument | Type | Description |
|---|---|---|
| limit | integer | Maximum number of runs to return |
| offset | integer | Offset among authorized runs |
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id | any | Filter by build ID |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 500,
"minimum": 1,
"description": "Maximum number of runs to return"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Offset among authorized runs"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by build ID"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}List your running VMs. Shows VMs created from your builds for testing. The response includes a session_token — pass it to subsequent tool calls.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id | any | Filter by build ID |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by build ID"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
}
},
"additionalProperties": false
}List every baseline pin you have across all your apps.
| Argument | Type | Description |
|---|---|---|
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Gracefully stop lab roles, retain data and report its tier-based expiry.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Pin a checkpoint so the retention reconciler never deletes it.
| Argument | Type | Description |
|---|---|---|
| app_id* | string | App ID. |
| api_key | any | MCP API key |
| checkpoint_id* | string | Checkpoint to pin (exempt from pruning). |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id",
"checkpoint_id"
],
"properties": {
"app_id": {
"type": "string",
"description": "App ID."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"checkpoint_id": {
"type": "string",
"description": "Checkpoint to pin (exempt from pruning)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Start a host-side platform-website fix: an ad-hoc git branch/worktree plus a host coding session that implements + commits the change (never pushes). Returns immediately — poll get_platform_fix(fix_id) until status is 'implemented' (then stage_platform_fix) or 'failed'.
| Argument | Type | Description |
|---|---|---|
| site* | string | Target platform site: openfactory.tech | console.openfactory.tech | direktor.tech | build.openfactory.tech |
| api_key | any | MCP API key |
| thread_id | any | Originating voice thread id (correlation). |
| instruction* | string | Precise change description: what is broken/missing, where (page/element), expected behavior, and your repro evidence (run ids, screenshots) from the visual tests. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"site",
"instruction"
],
"properties": {
"site": {
"type": "string",
"description": "Target platform site: openfactory.tech | console.openfactory.tech | direktor.tech | build.openfactory.tech"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"thread_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Originating voice thread id (correlation)."
},
"instruction": {
"type": "string",
"description": "Precise change description: what is broken/missing, where (page/element), expected behavior, and your repro evidence (run ids, screenshots) from the visual tests."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Create a build + prepared worktree WITHOUT queueing the autonomous pipeline. Create-without-queue primitive for the interactive build terminal: the calling agent is the single driver and orchestrates the build itself, so this must be used instead of create_build (which would queue a second, autonomous pipeline over the same recipe). Pass ``platform_agent=True`` to buy out of that and have OpenFactory's own goal agent drive instead; it is the only way to get one here, and it needs a plan that includes it. When a conversation is bound, cancels that conversation's previous active interactive build first. It never cancels another unbound caller's build. It creates and persists the record, canonicalizes the recipe, prepares the primed worktree (deterministic distro and package inputs), and marks the build "building". No email notifications fire on this path — the user is present in the terminal. The returned ``agent_mode`` (author | report-only) governs authoring: report-only is the worker-owned pipelines only (pi-gen, pmbootstrap), whose ``configure()`` writes the config later, during ``build_image`` dispatch, so their agent authors nothing (``agent_mode_notice`` restates the rule). Every other worker returns author, because the preparation path is actuators only and the agent is the sole author of ``config/``. Returns: {build_id, worktree_path, branch_name, agent_mode, session_token}
| Argument | Type | Description |
|---|---|---|
| prompt | any | The owner's original natural-language request, if there was one. Persisted privately as durable planning intent and seeded as the opening user message; provide the owner's words, not a narrowed recipe summary. |
| recipe* | any | The build recipe as a JSON object (or a JSON string). Required: name, base_image. Put OS features, packages, services, users, networking, and security under os. |
| api_key | any | OpenFactory MCP API key (optional). |
Create a FixIntent for a walker Finding. M1 does NOT auto-generate a patch; the returned intent carries the finding context and the caller supplies the actual patch via apply_fix(). M2 wires LLM patch generation via Context.sample().
| Argument | Type | Description |
|---|---|---|
| mode | string | local-vm = edit file in tester VM + restart unit (M1). github-pr = open PR (M2.5). provider-redeploy = push to Vercel/Netlify branch (M3). |
| notes | any | Free-text note about the proposed fix. |
| api_key | any | MCP API key |
| finding_id* | string | Walker finding_id to fix. |
| session_token | any | Session token |
{
"type": "object",
"required": [
"finding_id"
],
"properties": {
"mode": {
"enum": [
"local-vm",
"github-pr",
"provider-redeploy"
],
"type": "string",
"default": "local-vm",
"description": "local-vm = edit file in tester VM + restart unit (M1). github-pr = open PR (M2.5). provider-redeploy = push to Vercel/Netlify branch (M3)."
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Free-text note about the proposed fix."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"finding_id": {
"type": "string",
"description": "Walker finding_id to fix."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Ask the owner to set a new password for an account in their own VM. For an owner who has forgotten the password of the OS in their VM. The owner types the new password into the approval card, which sends it straight to the platform: it never reaches you, and you must never ask for it in the chat. Without a guest agent the VM restarts and the platform also installs the QEMU guest agent, so afterwards guest_command can run admin commands without the owner's password. The outcome arrives as your next input.
| Argument | Type | Description |
|---|---|---|
| reason* | string | One plain sentence on why; shown on the card as your reason. |
| vm_name* | string | Name of the owner's VM they are locked out of, e.g. of-deploy-… |
| username_hint | any | The login name you saw in the VM (prefilled on the card; the owner can change it) |
{
"type": "object",
"required": [
"vm_name",
"reason"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 500,
"description": "One plain sentence on why; shown on the card as your reason."
},
"vm_name": {
"type": "string",
"description": "Name of the owner's VM they are locked out of, e.g. of-deploy-…"
},
"username_hint": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"default": null,
"description": "The login name you saw in the VM (prefilled on the card; the owner can change it)"
}
},
"additionalProperties": false
}Ask the owner to approve a hardware change to their VM; you never make it. The platform checks the change first (plan, trial and capacity), then puts an approval card in this chat that says exactly what would change. The owner's answer arrives as your next input. A refusal comes back instead of a card: tell the owner once, with its manage_url when it has one, and do not retry it. Growing the disk does not grow the guest's partition or filesystem; do that with guest_command after it is applied.
| Argument | Type | Description |
|---|---|---|
| vcpus | any | New number of virtual CPUs |
| reason* | string | One plain sentence on why the owner needs this; shown on the card as your reason. |
| disk_gb | any | New primary disk size in GB (grow only) |
| display | any | standard, or accelerated (shared GPU) |
| vm_name* | string | Name of the owner's VM to change, e.g. of-deploy-… |
| memory_mb | any | New memory in MB |
{
"type": "object",
"required": [
"vm_name",
"reason"
],
"properties": {
"vcpus": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"default": null,
"description": "New number of virtual CPUs"
},
"reason": {
"type": "string",
"maxLength": 500,
"description": "One plain sentence on why the owner needs this; shown on the card as your reason."
},
"disk_gb": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"default": null,
"description": "New primary disk size in GB (grow only)"
},
"display": {
"anyOf": [
{
"enum": [
"standard",
"accelerated"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "standard, or accelerated (shared GPU)"
},
"vm_name": {
"type": "string",
"description": "Name of the owner's VM to change, e.g. of-deploy-…"
},
"memory_mb": {
"anyOf": [
{
"type": "integer",
"minimum": 256
},
{
"type": "null"
}
],
"default": null,
"description": "New memory in MB"
}
},
"additionalProperties": false
}Publish this repository's pending work to its approved ``main`` branch. An external MCP client has no shell here: its writes land on ``work`` inside the bare repository, and this fast-forwards ``main`` onto that tip with one atomic compare-and-swap. If it pushed some other branch over HTTPS instead, name that branch. A container agent instead has a real checkout, and for it this stays the supported replacement for ``git push``: it accepts only a DB-authorized worktree/target pair, requires a clean checkout and a fast-forward commit, disables client hooks and external Git protocols, and never returns the host repository path.
| Argument | Type | Description |
|---|---|---|
| name* | string | Attached repository id, checkout name, or unambiguous label returned by list_internal_repositories. |
| branch | any | Bare branch name to publish -- the branch you pushed. Omit for 'work', which is where file writes over MCP commit. Not a refname and not a path. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Attached repository id, checkout name, or unambiguous label returned by list_internal_repositories."
},
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bare branch name to publish -- the branch you pushed. Omit for 'work', which is where file writes over MCP commit. Not a refname and not a path."
}
},
"additionalProperties": false
}Search the platform's proven build knowledge before inventing a fix. Ask one focused query per recipe concept ("branding debian", "users autologin gdm", "installer calamares", ...) and one per new failure text. Make each a separate MCP invocation and read its result before the next; never batch queries in one shell call or concatenate their responses. A concept card comes back whole: every file that concept needs, with its template, slots and checks. Tenant-scoped RAG over verified past fixes, feature/hook docs, and proven build documents, plus the verified learned-rule prose for the build's base image. Queries run as the BUILD OWNER, not the caller — guest builds run on system-owned harness keys, and querying as the system user would skip the owner's private knowledge tier. Read-only; the response is capped at 32KB. For a recipe with a specific desktop, ``config_baseline`` is the certified config baseline for this base image and desktop (a commit to read with ``git show``, or a line saying none exists): the same text ``prepare_iso_workspace`` returns as ``prior_knowledge``, for a goal that was handed a Build ID and so never calls it. ``learned_rules`` and ``config_baseline`` come with a session's first call for the build only, unless ``include_learned_rules`` says otherwise; ``context_note`` says whether they were sent earlier, none were found, the read failed or learned_rules was truncated.
| Argument | Type | Description |
|---|---|---|
| k | integer | Maximum evidence hits to return (capped at 12). |
| query* | string | What you need to know — a failure summary, feature question, or capability you are about to implement. |
| api_key | any | OpenFactory MCP API key (optional). |
| build_id* | string |
Read a 2FA / one-time code from a Composio-connected Gmail. Call this mid-test when a sign-in prompts for an emailed code: it polls the target user's recent Gmail (via Composio) for a matching message and returns {code}. Then type it with desktop_type. Requires an ACTIVE Composio Gmail connection for the target user.
| Argument | Type | Description |
|---|---|---|
| sender | any | Optional sender filter, e.g. '[email protected]' or a domain |
| api_key | any | MCP API key |
| for_user | any | Read the OTP for THIS OpenFactory user (id or email) instead of the caller. Only honored for the system agent / super-admins — the Gmail connection may live under a different account than the calling identity. |
| code_pattern | string | Regex for the code; the first capture group (or whole match) is returned |
| connection_id | any | Optional local Composio Gmail connection_id to read from |
| session_token | any | Session token |
| within_seconds | integer | Only consider emails newer than this many seconds |
| timeout_seconds | integer | How long to poll for the email before giving up |
Record one step of the running app test, with server-side screenshot. A failed capture never loses the step — it is persisted with screenshot_error instead.
| Argument | Type | Description |
|---|---|---|
| notes | any | Optional detail (expected vs actual on failures) |
| run_id* | string | The app test run ID from start_app_test |
| status | string | passed | failed | error | skipped |
| api_key | any | Your OpenFactory MCP API key (optional) |
| description* | string | What you just did + what you verified, e.g. 'Submitted login form; dashboard rendered with admin workspace' |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
| capture_screenshot | boolean | Server captures the VM screen at this moment via libvirt (works even while a human has the noVNC console open) |
{
"type": "object",
"required": [
"run_id",
"description"
],
"properties": {
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional detail (expected vs actual on failures)"
},
"run_id": {
"type": "string",
"description": "The app test run ID from start_app_test"
},
"status": {
"type": "string",
"default": "passed",
"description": "passed | failed | error | skipped"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"description": {
"type": "string",
"description": "What you just did + what you verified, e.g. 'Submitted login form; dashboard rendered with admin workspace'"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
},
"capture_screenshot": {
"type": "boolean",
"default": true,
"description": "Server captures the VM screen at this moment via libvirt (works even while a human has the noVNC console open)"
}
},
"additionalProperties": false
}Append one narrated step to the platform's ledger for this session. The platform takes the screenshot, on the session's own VM, at this moment: you never supply the frame you are graded on. So put the subject on screen BEFORE you call this — close the menu you opened, raise the window, dismiss the dialog — because the judge samples the whole recording and an occluded frame proves nothing. Bind every step to the claim(s) it shows with `intent_item_ids`. Without them the judge has to guess which frame belongs to which claim from the words on screen. An id that is not one of this session's intent items is refused, with the valid ids. Goes to the session get_verification_session named, on that session's VM — you never choose the run. Budget-checked: when the session wall clock or the step count is spent, this refuses and the platform judges what was recorded.
| Argument | Type | Description |
|---|---|---|
| notes | any | Optional detail — expected versus actual when a claim does not hold |
| status | string | passed | failed | error | skipped |
| api_key | any | Your OpenFactory MCP API key, unless it is already the Authorization header |
| build_id | any | The build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it. |
| app_run_id | any | Expected ledger from get_verification_session. Required with operation_id; a changed artifact or phase is refused. |
| description* |
Fork a public+remixable app (or your own app regardless of flags). HARD security rule per spec: env values, secrets, DB contents, auth binding, checkpoints, and IDE state are NEVER copied — only the git_url + deployment_type + template lineage carry over. Set fresh secrets via set_app_env / provision fresh services via add_app_* after this returns.
| Argument | Type | Description |
|---|---|---|
| name | any | Display name; '<source> (remix)' if omitted. |
| api_key | any | MCP API key |
| session_token | any | Session token |
| source_app_id* | string | App ID of the source app to fork. |
{
"type": "object",
"required": [
"source_app_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Display name; '<source> (remix)' if omitted."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"source_app_id": {
"type": "string",
"description": "App ID of the source app to fork."
}
},
"additionalProperties": false
}Escalate a genuine architectural fork or unsolvable problem to the user. Reserve this for choices the user must make. Anything the owner cannot act on is ``scope="platform"``: the installer driver could not click through the installer, there is no trusted installer manifest, the session VM never came up, or no engine will run. Those go to OpenFactory operators: the severity is always destructive, the build and the goal stop until an operator answers, and the owner is neither mailed nor asked. Never ask the owner to waive a verification phase or to supply a new build or build id. The response tells you whether anyone is actually waiting, and there are only two cases: * ``status: auto_defaulted`` — ALREADY ANSWERED. ``answer.option_id`` is the option to build; keep working, and never sleep or poll on it. A minor decision that carries a ``recommendation_option_id`` comes back this way immediately: your recommendation is the answer, so the build does not pause for it and ``timeout_at`` is null because there is no window. A major decision still gets its window. * ``status: pending`` — a person genuinely has to answer. Finish any deferrable work, then STOP cleanly WITHOUT reporting update_record failed; the platform parks the build as waiting for input. WHO RESUMES YOU DEPENDS ON WHO IS DRIVING. A session OpenFactory launched is woken with the answer, so stopping is all it has to do. If you are driving this build yourself from your own MCP client, nobody wakes you, because no platform agent was started for it: poll ``get_build_status`` until ``decision_answers[<decision_id>]`` appears, and resume from there. The response tells you which case you are in — it carries ``recommended_next_tool`` only in the second. Either way, do not wait it out inside one call.
| Argument | Type | Description |
|---|---|---|
| kind | string | architecture_fork | unsolvable | clarification. |
| scope | string | build | platform. "platform": the blocker is the platform (installer driver, verifier, judge budget, engine); the question goes to OpenFactory operators, the owner is not asked, and the goal waits for an operator. |
Resume owned lab roles after verifying remaining allocation and network policy.
| Argument | Type | Description |
|---|---|---|
| lab_id* | string | |
| api_key | any | |
| session_token | any |
{
"type": "object",
"required": [
"lab_id"
],
"properties": {
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}Resume the exact VM snapshot captured by a completed test run. The returned ``vm_name`` is the of-test-* VM this run used, and it is the ``vm_name`` argument for every probe: ``guest_command`` for functional checks, ``desktop_screenshot`` and ``desktop_read_region`` to read the display, ``desktop_interact`` to drive it. Resuming does NOT extend the retention window in ``retained_until``. Once that passes, the VM is gone — rerun the same test contract rather than standing up an unrelated VM whose state proves nothing about this run. A judged VM can go sooner, a day after its verdict or last use, unless a goal is still working on it.
| Argument | Type | Description |
|---|---|---|
| run_id* | string | The completed test run whose retained VM snapshot to resume |
| api_key | any | Your OpenFactory MCP API key (optional) |
| session_token | any | Session token from a previous tool response |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "The completed test run whose retained VM snapshot to resume"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}Retry a failed build. Re-queues the build with the same recipe. Use this if a build failed due to a transient error.
| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id* | string | The build ID to retry |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"build_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"type": "string",
"description": "The build ID to retry"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}Decrypt and return a single account env var. Writes an audit entry.
| Argument | Type | Description |
|---|---|---|
| name* | string | Account env var name to decrypt. |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Account env var name to decrypt."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}Decrypt and return a single app env var's plaintext value. Writes an audit entry recording the actor, app_id, name, and timestamp.
| Argument | Type | Description |
|---|---|---|
| name* | string | Env var name to decrypt. |
| app_id* | string | App ID (UUID from create_app). |
| api_key | any | MCP API key |
| session_token | any | Session token |
{
"type": "object",
"required": [
"app_id",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Env var name to decrypt."
},
"app_id": {
"type": "string",
"description": "App ID (UUID from create_app)."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 24, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.
A very long tool description (over 4,000 characters) is hard to review and easy to hide instructions in.
Fix: Keep the description to what the tool does and when to use it; move reference material to resources or docs.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"required": [
"vm_name",
"boxes"
],
"properties": {
"boxes": {
"type": "string",
"description": "JSON array of highlight boxes to draw, in PIXEL coordinates at the screenshot's native resolution. Each box: {\"x1\":int,\"y1\":int,\"x2\":int,\"y2\":int,\"label\"?:str,\"color\"?:\"#rrggbb\"}. To box a UI element, pass its bbox [x1,y1,x2,y2] straight from a prior desktop_screenshot element. Default color is green (new element); set \"color\" per box (e.g. \"#ef4444\" red) to distinguish. Example: [{\"x1\":100,\"y1\":120,\"x2\":360,\"y2\":180,\"label\":\"new: Submit button\"}]"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}| Argument | Type | Description |
|---|
| api_key | any | OpenFactory MCP API key (optional). |
| build_id* | string | The build to prepare, compile, verify, and publish. |
| wait_seconds | integer | |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"build_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"build_id": {
"type": "string",
"description": "The build to prepare, compile, verify, and publish."
},
"wait_seconds": {
"type": "integer",
"default": 0
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"build_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"build_id": {
"type": "string",
"description": "The build whose authored config/ to check."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}| severity_threshold | string | Minimum NEW-finding severity that fails the gate: 'blocker' | 'major' | 'minor'. |
{
"type": "object",
"required": [
"app_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key."
},
"walk_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Candidate walk to check. Omit to use the latest completed walk for this app."
},
"app_name": {
"type": "string",
"description": "The baseline grouping key (from seal_walk_baseline)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token echoed by a prior tool."
},
"require_sealed": {
"type": "boolean",
"default": true,
"description": "Require the baseline to be sealed (immutable). If false, an unsealed pin is allowed."
},
"fail_on_changed": {
"type": "boolean",
"default": false,
"description": "Fail on CHANGED states (title/element drift). Off by default — normal during development."
},
"fail_on_removed": {
"type": "boolean",
"default": true,
"description": "Fail when a baseline state (UX path) disappears in the candidate."
},
"severity_threshold": {
"type": "string",
"default": "major",
"description": "Minimum NEW-finding severity that fails the gate: 'blocker' | 'major' | 'minor'."
}
},
"additionalProperties": false
}| session_token |
| any |
| Session token |
| deployment_type | string | web-service (long-running server), static-site, or scheduled-job |
{
"type": "object",
"required": [
"name",
"git_url"
],
"properties": {
"name": {
"type": "string",
"description": "Human name for the app, e.g. 'my-shop'"
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Port the app listens on (e.g. 3000)"
},
"slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional DNS-safe slug for the app's URL; auto-derived from the name if omitted"
},
"branch": {
"type": "string",
"default": "main",
"description": "Branch to deploy (default main)"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"git_url": {
"type": "string",
"description": "HTTPS git URL of the app's repository"
},
"base_image": {
"type": "string",
"default": "debian-trixie",
"description": "Base variant for deployments (default: debian-trixie)"
},
"visibility": {
"type": "string",
"default": "public",
"description": "'public' (anyone with the URL can view) or 'private' (only you — the preview URL is gated by your OpenFactory login)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"deployment_type": {
"type": "string",
"default": "web-service",
"description": "web-service (long-running server), static-site, or scheduled-job"
}
},
"additionalProperties": false
}| session_token | any | Session token |
| template_git_url* | string | HTTPS git URL of a template repo to bake into a fresh app variant. |
| wait_timeout_seconds | integer |
{
"type": "object",
"required": [
"brief",
"template_git_url"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional display name. Derived from the brief if omitted."
},
"wait": {
"type": "boolean",
"default": false,
"description": "Wait briefly for the asynchronous deployment to finish."
},
"brief": {
"type": "string",
"description": "One-sentence description of what the app should do. Saved to App.origin.brief for future iteration."
},
"branch": {
"type": "string",
"default": "main",
"description": "Template repo branch."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"use_obs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Use OBS when true, the image hook when false, or automatic selection when omitted."
},
"base_image": {
"type": "string",
"default": "debian-trixie",
"description": "Base variant for the deployment."
},
"visibility": {
"type": "string",
"default": "public",
"description": "'public' (anyone with URL can view) or 'private' (gated by your OpenFactory login)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"template_git_url": {
"type": "string",
"description": "HTTPS git URL of a template repo to bake into a fresh app variant."
},
"wait_timeout_seconds": {
"type": "integer",
"default": 300,
"maximum": 540,
"minimum": 1
}
},
"additionalProperties": false
}| api_key | any | MCP API key |
| app_url | any | App base URL as the VM reaches it — a dev server, a deployed app, or any public URL. No build/deploy is required; the vanilla tester VM just opens this URL. |
| secrets | any | JSON object of SECRET values the steps reference via ${VAR}/${totp:VAR} — password, base32 TOTP seed, etc., e.g. {"PASSWORD":"hunter2","OTP_SECRET":"JBSWY3DPEHPK3PXP"}. Saved (encrypted) in your key store, scoped per app, so the scenario can be re-run later — including bulk re-runs that can't prompt for input. Every ${VAR} a step uses must resolve on re-run: put NON-SECRET values in `variables` and SECRET ones here (or have them already stored for this app), otherwise the create is rejected. |
| app_name* | string | Stable app key, e.g. 'knostra' — groups history |
| build_id | any | Optional EXISTING variant/build id to associate (metadata only — reuses a build already present, never triggers a new build). Requires project_id. |
| scenario* | string | Stable scenario name, e.g. 'smoke-login' |
| variables | any | Optional JSON object of NON-SECRET default variables for ${VAR} substitution, e.g. {"APP_URL":"http://10.0.2.2:3000","EMAIL":"[email protected]"}. Put passwords / TOTP seeds in `secrets` (they're saved to your key store), not here. |
| project_id | any | Project to file this scenario under (proj-… id from your projects). Makes it show up under that project in the cto-gui graphs / right test panel. Must be a project you own. If omitted, the scenario is filed under your auto-created default 'App Tests' project (every test belongs to a project). |
| description | any | ALWAYS provide this: a concise, human 'what this test verifies' sentence describing the test's GOAL — not a list of steps. Shown at the top of the test panel when the test is opened. E.g. 'Signs in and verifies the Usherpa integration's tool catalog loads.' or 'Sends a long prompt and confirms the reply streams without freezing.' If omitted, a readable summary is auto-generated from the step semantics, but an authored one is better. |
| browser_auth | any | Run this test SIGNED IN: restores the owner's prepared, encrypted browser profile (stored once per app origin + Composio account) before the first open_url — no login steps or password secrets needed. Shape: {provider:'composio', connection_id:str}. Requires app_url. Prepare the profile once in the dashboard (the test's Sign-in section, or a Walk's 'With login' — same store); creating without a prepared profile fails with browser_profile_not_ready. Mutually exclusive with incognito steps. Re-calling create_app_scenario for an existing test (upsert) attaches it. |
| session_token | any | Session token |
| fail_on_error_toast | any | Default True: automatically FAIL the run if a known error bubble/toast appears on any step. Set False only for apps that legitimately render error-like copy. |
{
"type": "object",
"required": [
"app_name",
"scenario",
"steps"
],
"properties": {
"steps": {
"type": "string",
"description": "JSON array of semantic steps, run in order. Each step: {\"action\": \"open_url\"|\"click\"|\"type\"|\"key\"|\"assert_text\"|\"assert_no_error\"|\"wait\"|\"email_otp\"|\"assert_visual\"|\"drag\"|\"assert_stable\"|\"assert_progress\"|\"network\"|\"login\"|\"goal\", \"target\"?: str, \"value\"?: str, \"expect\"?: str, \"visual_threshold\"?: int, \"monitor_duration_secs\"?: int, \"monitor_region\"?: [x,y,w,h], \"sample_interval_ms\"?: int, \"stability_threshold\"?: int, \"min_changes\"?: int, \"min_stream_secs\"?: int}. Use plain language for `target` (e.g. \"Sign In button\", \"email field\") — it is matched on screen by OmniParser (verbose descriptions are fine; they resolve to the on-screen label). `value` is the URL (open_url), the text to type (type), the key to press (key, e.g. \"Return\"), or seconds (wait). `drag` drag-and-drops `target`: `value` is either a pixel delta \"dx,dy\" (e.g. \"120,-40\" to move it right 120 / up 40) or \"to:<other target>\" to drop it onto another element — e.g. reorder a list, move a graph node, drag a slider. `expect` optionally asserts text is visible after the step. An `assert_text` step requires a non-empty `expect` (legacy `value` is also accepted); `target` does not supply the assertion text. `assert_no_error` is a NEGATIVE assertion — it FAILS if an error bubble/toast is on screen (built-in phrases like 'Something went wrong', 'Internal server error', 'Failed to load', 'Rate limit'); add custom phrases via `expect` (comma/newline-separated, e.g. \"Payment declined, Card expired\"). Place it after a submit/send to assert no failure popped up. NOTE: by default the runner ALSO sweeps every step for these error bubbles and fails the run automatically, so you only need an explicit `assert_no_error` for CUSTOM error text or a specific checkpoint. `assert_visual` is a visual-regression check: the first run captures a perceptual-hash baseline of the full page; later runs FAIL if the page drifts beyond `visual_threshold` (perceptual-hash Hamming distance 0-64, default 8) — catches layout/render regressions that text checks miss. `assert_stable` is a TEMPORAL/SOAK check: it watches a screen region over time and FAILS on visual INSTABILITY — flicker (an element repeatedly appears/disappears) or disappearance (present at the start, gone by the end). Fields: `monitor_duration_secs` (1-120, default 15), `monitor_region` [x,y,w,h] in screen pixels (omit = full screen), `sample_interval_ms` (200-2000, default 500), `stability_threshold` (phash distance 0-64, default 6), and optional `target` = an element (by label) that must REMAIN present the whole time. Catches 'after a while the UI flickers/vanishes' bugs that point-in-time checks miss, e.g. {\"action\":\"assert_stable\",\"target\":\"VM node\",\"monitor_region\":[260,140,760,520],\"monitor_duration_secs\":20,\"description\":\"VM nodes stay stable for 20s\"}. `assert_progress` is the INVERSE temporal check — for STREAMING UIs (a chat reply, a build-log tail). It FAILS if a region stops changing too early: NO_OUTPUT (never rendered) or FROZE (last change before `min_stream_secs`, or fewer than `min_changes` changing samples) — i.e. the reply 'stops after a second'. Same monitor fields as assert_stable plus `min_changes` (default 3) and `min_stream_secs` (default 4); scope `monitor_region` to the reply text area so a spinner can't read as progress. E.g. {\"action\":\"assert_progress\",\"monitor_region\":[480,180,760,520],\"monitor_duration_secs\":20,\"min_stream_secs\":4,\"description\":\"reply keeps streaming, does not stall\"}. `network` is FAULT INJECTION — drop/restore the tester VM's connection to reproduce a mid-stream disconnect and test recovery: `value` = \"down\" | \"up\" | \"drop:<secs>\" (drop cuts the connection, holds ≤ secs, then ALWAYS restores). With `expect` it asserts that text (e.g. a 'connection dropped' recovery toast) appears on the OFFLINE screen. E.g. {\"action\":\"network\",\"value\":\"drop:12\",\"expect\":\"connection dropped\",\"description\":\"cut the connection mid-stream; the recovery toast must appear\"}. Reference variables as ${VAR}. Enter a TOTP 2FA code with ${totp:VAR} (VAR holds a base32 secret). For an EMAILED code, use the `email_otp` action: `target` is the code input field, optional `value` filters the email (e.g. \"from:[email protected]\" or \"subject:verification\"); it reads the scenario owner's Composio-connected Gmail and fills the code (the owner must have an ACTIVE Composio Gmail connection). It does NOT submit the verification form; follow it with an explicit `click` on Continue/Verify or a `key` Return step, then assert content inside the product. Example login with an emailed 2FA code: [{\"action\":\"open_url\",\"value\":\"${APP_URL}\"},{\"action\":\"type\",\"target\":\"email field\",\"value\":\"${EMAIL}\"},{\"action\":\"type\",\"target\":\"password field\",\"value\":\"${PASSWORD}\"},{\"action\":\"click\",\"target\":\"Sign In button\"},{\"action\":\"email_otp\",\"target\":\"verification code field\",\"value\":\"subject:verification\"},{\"action\":\"click\",\"target\":\"Verify\",\"expect\":\"Dashboard\"}]"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"app_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "App base URL as the VM reaches it — a dev server, a deployed app, or any public URL. No build/deploy is required; the vanilla tester VM just opens this URL."
},
"secrets": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "JSON object of SECRET values the steps reference via ${VAR}/${totp:VAR} — password, base32 TOTP seed, etc., e.g. {\"PASSWORD\":\"hunter2\",\"OTP_SECRET\":\"JBSWY3DPEHPK3PXP\"}. Saved (encrypted) in your key store, scoped per app, so the scenario can be re-run later — including bulk re-runs that can't prompt for input. Every ${VAR} a step uses must resolve on re-run: put NON-SECRET values in `variables` and SECRET ones here (or have them already stored for this app), otherwise the create is rejected."
},
"app_name": {
"type": "string",
"description": "Stable app key, e.g. 'knostra' — groups history"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional EXISTING variant/build id to associate (metadata only — reuses a build already present, never triggers a new build). Requires project_id."
},
"scenario": {
"type": "string",
"description": "Stable scenario name, e.g. 'smoke-login'"
},
"variables": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional JSON object of NON-SECRET default variables for ${VAR} substitution, e.g. {\"APP_URL\":\"http://10.0.2.2:3000\",\"EMAIL\":\"[email protected]\"}. Put passwords / TOTP seeds in `secrets` (they're saved to your key store), not here."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Project to file this scenario under (proj-… id from your projects). Makes it show up under that project in the cto-gui graphs / right test panel. Must be a project you own. If omitted, the scenario is filed under your auto-created default 'App Tests' project (every test belongs to a project)."
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ALWAYS provide this: a concise, human 'what this test verifies' sentence describing the test's GOAL — not a list of steps. Shown at the top of the test panel when the test is opened. E.g. 'Signs in and verifies the Usherpa integration's tool catalog loads.' or 'Sends a long prompt and confirms the reply streams without freezing.' If omitted, a readable summary is auto-generated from the step semantics, but an authored one is better."
},
"browser_auth": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Run this test SIGNED IN: restores the owner's prepared, encrypted browser profile (stored once per app origin + Composio account) before the first open_url — no login steps or password secrets needed. Shape: {provider:'composio', connection_id:str}. Requires app_url. Prepare the profile once in the dashboard (the test's Sign-in section, or a Walk's 'With login' — same store); creating without a prepared profile fails with browser_profile_not_ready. Mutually exclusive with incognito steps. Re-calling create_app_scenario for an existing test (upsert) attaches it."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"fail_on_error_toast": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Default True: automatically FAIL the run if a known error bubble/toast appears on any step. Set False only for apps that legitimately render error-like copy."
}
},
"additionalProperties": false
}| api_key | any | Your OpenFactory MCP API key (optional) |
| create_chat | boolean | Create a chat for this build, seeded with the prompt and a recipe card, and link it so the build is reachable from the sidebar and opens the build panel. Leave on unless you're generating bulk/QA builds that would spam the chat list. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
| platform_agent | boolean | Have OpenFactory's own goal agent drive this build. It spends your plan's platform AI allowance and is metered against it. Omit it and YOU drive the build with your own model (build_image, then its verification session through get_verification_session). |
| installer_choice | any | When the installer combo is not yet supported: native, openfactory-installer, calamares, or live_only. If omitted and the combo is uncovered, this tool returns needs_input with a question. |
{
"type": "object",
"required": [
"recipe"
],
"properties": {
"theme": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "An Omarchy theme id (GET /api/catalog/themes lists them, e.g. tokyo-night). It is recorded as the owner's choice and verified on the finished image; the recipe must apply it (GET /api/catalog/themes/{id} has its palette and bundle). Refused for firmware built by its own tooling (OpenWrt, Zephyr, GrapheneOS)."
},
"prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The natural-language request this recipe came from, if there was one. Seeded as the opening user message of the build's chat, so the chat shows what was actually asked for rather than just the generated recipe."
},
"recipe": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
}
],
"description": "\nThe build recipe as a JSON object (or a JSON string). Required fields:\n- name: Name for the build\n- base_image: Base OS (e.g., \"ubuntu-26.04\", \"debian-trixie\", \"fedora-39\" through \"fedora-44\", \"elster-os\")\n\nOptional fields:\n- use_case: Primary use case (e.g., \"Development\", \"Research\", \"Production server\")\n- description: Description of the build purpose\n- hardware: Hardware requirements (min_memory_gb, min_storage_gb)\n- os: OS settings. Put features, packages, services, networking, security, and users here.\n- scenarios: Post-build test scenarios\n"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"create_chat": {
"type": "boolean",
"default": true,
"description": "Create a chat for this build, seeded with the prompt and a recipe card, and link it so the build is reachable from the sidebar and opens the build panel. Leave on unless you're generating bulk/QA builds that would spam the chat list."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
},
"platform_agent": {
"type": "boolean",
"default": false,
"description": "Have OpenFactory's own goal agent drive this build. It spends your plan's platform AI allowance and is metered against it. Omit it and YOU drive the build with your own model (build_image, then its verification session through get_verification_session)."
},
"installer_choice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "When the installer combo is not yet supported: native, openfactory-installer, calamares, or live_only. If omitted and the combo is uncovered, this tool returns needs_input with a question."
}
},
"additionalProperties": false
}| How the image should install to disk when that matters: native, openfactory-installer, calamares, or live_only. |
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"theme": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "An Omarchy theme id (GET /api/catalog/themes lists them, e.g. tokyo-night). The build agent applies it and the finished image is verified against it. Firmware built by its own tooling (OpenWrt, Zephyr, GrapheneOS) takes no theme."
},
"prompt": {
"type": "string",
"description": "One sentence describing the image you want, exactly as you would type it into the OpenFactory chat. Example: 'a Fedora 42 workstation ISO with an NVIDIA boot splash and docker preinstalled'."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
},
"installer_choice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "How the image should install to disk when that matters: native, openfactory-installer, calamares, or live_only."
}
},
"additionalProperties": false
}| admin_username | string |
| installer_type | any |
| installer_method | any |
| admin_password_ref | any |
{
"type": "object",
"required": [
"lab_id",
"node_id",
"build_id",
"networks"
],
"properties": {
"vcpus": {
"type": "integer",
"default": 1
},
"lab_id": {
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"node_id": {
"type": "string"
},
"build_id": {
"type": "string"
},
"networks": {
"type": "array",
"items": {
"type": "string"
}
},
"memory_mb": {
"type": "integer",
"default": 2048
},
"base_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"auto_install": {
"type": "boolean",
"default": false
},
"disk_size_gb": {
"type": "integer",
"default": 20
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"admin_username": {
"type": "string",
"default": "operator"
},
"installer_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"installer_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"admin_password_ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": false
}| disk_size_gb | integer | Primary VM disk size in GB |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
| installer_type | any | The recipe's declared installer ("calamares", "anaconda"). Required with auto_install for a general-purpose desktop image; without it only appliance ISOs resolve an installer |
| storage_devices | any | Optional extra VM disks/controllers, such as generated NVMe disks |
| installer_method | any | Optional registered install strategy override, such as guest_agent for the OpenFactory Installer compatibility route |
{
"type": "object",
"required": [
"build_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional name for the VM"
},
"vcpus": {
"type": "integer",
"default": 2,
"description": "Number of virtual CPUs"
},
"lab_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Owned private lab; never a host/network identifier"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"type": "string",
"description": "The build ID to create a VM from"
},
"networks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Logical networks belonging to this lab"
},
"memory_mb": {
"type": "integer",
"default": 4096,
"description": "VM memory in MB"
},
"base_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Base image slug such as fedora-43, so release-specific installer steps match the release actually being installed"
},
"lab_node_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Stable logical lab role name"
},
"auto_install": {
"type": "boolean",
"default": false,
"description": "Install the built ISO to the primary disk and reboot into the installed system instead of leaving the VM on live media"
},
"disk_size_gb": {
"type": "integer",
"default": 20,
"maximum": 4096,
"minimum": 5,
"description": "Primary VM disk size in GB"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
},
"installer_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The recipe's declared installer (\"calamares\", \"anaconda\"). Required with auto_install for a general-purpose desktop image; without it only appliance ISOs resolve an installer"
},
"storage_devices": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"default": null,
"description": "Optional extra VM disks/controllers, such as generated NVMe disks"
},
"installer_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional registered install strategy override, such as guest_agent for the OpenFactory Installer compatibility route"
}
},
"additionalProperties": false
}| Optional base-variant override; registered app default is debian-trixie |
| visibility | any | Preview-URL visibility: 'public' (default) or 'private' (only the owner, gated by login). Defaults to the registered app's setting when app_id is given. |
| run_command | any | Command to start the app, e.g. 'pnpm start' or 'python3 app.py'. Auto-detected for npm/pnpm/Yarn projects (port 3000) and static sites (python3 http.server, port 8080) if omitted. |
| build_command | any | Optional production build command. For Node repos this is auto-detected from the package.json build script when omitted. |
| session_token | any | Session token |
| install_command | any | Optional deps install, e.g. 'npm install' or 'pip3 install -r requirements.txt' |
| static_output_dir | any | Output directory for a built static site, e.g. dist or out |
| wait_timeout_seconds | integer | Maximum bounded wait when wait=true (1-540 seconds) |
{
"type": "object",
"properties": {
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Port the app listens on (>=1024)"
},
"wait": {
"type": "boolean",
"default": false,
"description": "Wait for completion within wait_timeout_seconds; the deployment continues if the wait expires"
},
"app_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Deploy a registered app by id (uses its git_url/branch/slug)"
},
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional branch override"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"git_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Git URL to deploy (omit if app_id is given)"
},
"use_obs": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Package through OBS when true; use the image-build hook when false; omit for automatic selection based on OBS health and stack support."
},
"base_image": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional base-variant override; registered app default is debian-trixie"
},
"visibility": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Preview-URL visibility: 'public' (default) or 'private' (only the owner, gated by login). Defaults to the registered app's setting when app_id is given."
},
"run_command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Command to start the app, e.g. 'pnpm start' or 'python3 app.py'. Auto-detected for npm/pnpm/Yarn projects (port 3000) and static sites (python3 http.server, port 8080) if omitted."
},
"build_command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional production build command. For Node repos this is auto-detected from the package.json build script when omitted."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"install_command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional deps install, e.g. 'npm install' or 'pip3 install -r requirements.txt'"
},
"static_output_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Output directory for a built static site, e.g. dist or out"
},
"wait_timeout_seconds": {
"type": "integer",
"default": 300,
"maximum": 540,
"minimum": 1,
"description": "Maximum bounded wait when wait=true (1-540 seconds)"
}
},
"additionalProperties": false
}| session_token | any | Session token |
| screenshot_delay | number | Seconds to wait after clicking before taking screenshot (default: 0.15). Increase for actions that trigger animations or dropdowns. |
{
"type": "object",
"required": [
"vm_name",
"x",
"y"
],
"properties": {
"x": {
"type": "integer",
"description": "X coordinate to click (from element's center[0])"
},
"y": {
"type": "integer",
"description": "Y coordinate to click (from element's center[1])"
},
"button": {
"type": "integer",
"default": 0,
"description": "Mouse button: 0=left (default), 2=right"
},
"double": {
"type": "boolean",
"default": false,
"description": "Double-click instead of single click"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"screenshot_delay": {
"type": "number",
"default": 0.15,
"description": "Seconds to wait after clicking before taking screenshot (default: 0.15). Increase for actions that trigger animations or dropdowns."
}
},
"additionalProperties": false
}| include_perf | boolean | Include per-stage timing metrics. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token |
| screenshot_delay | number | Seconds to wait after the drop before screenshotting (default 0.3). Increase for drops that animate/relayout. |
{
"type": "object",
"required": [
"vm_name",
"x",
"y",
"end_x",
"end_y"
],
"properties": {
"x": {
"type": "integer",
"description": "Start X — where to grab (from the element's center[0])"
},
"y": {
"type": "integer",
"description": "Start Y — where to grab (from the element's center[1])"
},
"end_x": {
"type": "integer",
"description": "End X — where to drop"
},
"end_y": {
"type": "integer",
"description": "End Y — where to drop"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"screenshot_delay": {
"type": "number",
"default": 0.3,
"description": "Seconds to wait after the drop before screenshotting (default 0.3). Increase for drops that animate/relayout."
}
},
"additionalProperties": false
}| api_key | any | MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token |
| screenshot_delay | number | Seconds to wait after all actions before taking screenshot (default: 0.15). |
{
"type": "object",
"required": [
"vm_name",
"actions"
],
"properties": {
"actions": {
"type": "string",
"description": "JSON array of actions to execute sequentially. Each action is an object with a \"type\" field. Supported types:\n {\"type\": \"click\", \"x\": 500, \"y\": 300} — left click\n {\"type\": \"double_click\", \"x\": 500, \"y\": 300} — double click\n {\"type\": \"right_click\", \"x\": 500, \"y\": 300} — right click\n {\"type\": \"move\", \"x\": 500, \"y\": 300} — move mouse\n {\"type\": \"scroll\", \"x\": 500, \"y\": 300, \"direction\": \"down\", \"amount\": 3}\n {\"type\": \"drag\", \"x\": 100, \"y\": 100, \"end_x\": 400, \"end_y\": 400}\n {\"type\": \"type\", \"text\": \"hello\"} — type text\n {\"type\": \"type_secret\", \"secret_name\": \"operator-password\"} — privately deliver an existing deployment secret into a native console login or verified native PolicyKit hidden password field; no secret value returned. In an installed-system verification session whose first boot the platform unlocked, \"installed-disk-passphrase\" answers the native disk unlock prompt once after each guest shutdown plus cold_boot\n {\"type\": \"key\", \"key\": \"Return\"} — press key\n {\"type\": \"key_hold\", \"key\": \"Right\", \"duration\": 0.5} — hold a key for 0.05–2 seconds, then release\n {\"type\": \"wake\"} — sole action: wake an existing sleeping VM through native ownership and admission checks; never start a stopped VM\n {\"type\": \"cold_boot\"} — sole action: start the same existing shutoff VM through native ownership and admission checks after normal guest shutdown; never stop, reset or change media\n {\"type\": \"wait\", \"duration\": 2} — wait N seconds\n {\"type\": \"verification_capture\", \"build_id\": \"…\", \"app_run_id\": \"…\", \"operation_id\": \"…\", \"description\": \"…\", \"status\": \"passed\", \"notes\": null, \"intent_item_ids\": [\"…\"], \"delay_seconds\": 0.5} — at most one; concurrently record a native frame after 0–10 seconds, bound to the ready verification session; no supplied images\n {\"type\": \"motion_capture\", …the verification_capture fields…, \"seconds\": 5} — instead of verification_capture, for video, animation or smoothness claims: the platform also samples the VM display for 0–10 seconds (about 30 fps) before the frame and gives the judge the updates per second and longest stall it measured\n {\"type\": \"find_element\", \"element_text\": \"Settings\"} — locate by label, no click\n {\"type\": \"click_element\", \"element_text\": \"Settings\"} — click the element named, no coordinates\n {\"type\": \"type_into_element\", \"element_text\": \"Search\", \"text\": \"accent\"} — focus that field and type\nExample: [{\"type\": \"click\", \"x\": 100, \"y\": 200}, {\"type\": \"wait\", \"duration\": 1}]"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"screenshot_delay": {
"type": "number",
"default": 0.15,
"description": "Seconds to wait after all actions before taking screenshot (default: 0.15)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"vm_name",
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Key or key combination to press. Examples: 'Return', 'Tab', 'Escape', 'ctrl+l', 'ctrl+c', 'alt+F4', 'ctrl+shift+t'"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"screenshot_delay": {
"type": "number",
"default": 0.15,
"description": "Seconds to wait after key press before taking screenshot (default: 0.15)."
}
},
"additionalProperties": false
}| api_key |
| any |
| MCP API key |
| vm_name* | string | VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| max_tabs | integer | Cap on simultaneous browser tabs. When opening would exceed this, the oldest tab opened by us is closed first (FIFO). Set to 0 to disable. Default: 10. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| wait_seconds | integer | Seconds to wait for page to load before taking screenshot (default: 5) |
| response_mode | string | Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only). |
| session_token | any | Session token |
{
"type": "object",
"required": [
"vm_name",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "URL to open in Brave (e.g., 'https://example.com')"
},
"zoom": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser zoom (1.0 = 100%, 0.8 = 80%). Leave unset for smart per-app defaults — dense dashboards like the cto-gui topology graph open at 80% so more fits on screen. Pass an explicit value to override, e.g. 0.8 to zoom out or 1.0 to force 100%."
},
"mobile": {
"anyOf": [
{},
{
"type": "null"
}
],
"default": null,
"description": "Open in mobile view. true = iPhone (390x844@3 + mobile UA + touch); or a preset name: 'iphone', 'iphone-se', 'android', 'ipad'; or an object {preset?, width?, height?, device_scale_factor?, user_agent?}. The choice sticks to this VM, so later desktop_screenshot and desktop_interact calls stay in mobile view too. Pass false to go back to desktop."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"max_tabs": {
"type": "integer",
"default": 10,
"description": "Cap on simultaneous browser tabs. When opening would exceed this, the oldest tab opened by us is closed first (FIFO). Set to 0 to disable. Default: 10."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"wait_seconds": {
"type": "integer",
"default": 5,
"description": "Seconds to wait for page to load before taking screenshot (default: 5)"
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
}
},
"additionalProperties": false
}| string |
| VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM. |
| include_perf | boolean | Include per-stage timing metrics in the response. |
| session_token | any | Session token |
| include_coordinates | boolean | If False (default): use Nanonets OCR 2 and return STRUCTURED MARKDOWN of everything on screen — best for reading terminal output, articles, logs, dialog body text. Markdown preserves tables, code blocks, headings. If True: use EasyOCR and return per-line {text, center, confidence} with screen-space pixel coordinates. Use this mode when you need to CLICK on something you just read. |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"x": {
"type": "integer",
"default": 0,
"description": "Top-left X of region in pixels (default: 0)"
},
"y": {
"type": "integer",
"default": 0,
"description": "Top-left Y of region in pixels (default: 0)"
},
"width": {
"type": "integer",
"default": -1,
"description": "Region width in pixels. -1 (default) means 'to the right edge'."
},
"height": {
"type": "integer",
"default": -1,
"description": "Region height in pixels. -1 (default) means 'to the bottom edge'."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"include_coordinates": {
"type": "boolean",
"default": false,
"description": "If False (default): use Nanonets OCR 2 and return STRUCTURED MARKDOWN of everything on screen — best for reading terminal output, articles, logs, dialog body text. Markdown preserves tables, code blocks, headings. If True: use EasyOCR and return per-line {text, center, confidence} with screen-space pixel coordinates. Use this mode when you need to CLICK on something you just read."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"vm_name",
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text to type into the currently focused field"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "VM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM."
},
"press_enter": {
"type": "boolean",
"default": false,
"description": "Press Enter after typing (useful for search bars, URL bars)"
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"response_mode": {
"type": "string",
"default": "full",
"description": "Response detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), none (no capture; blind action only)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"screenshot_delay": {
"type": "number",
"default": 0.15,
"description": "Seconds to wait after typing before taking screenshot (default: 0.15)."
}
},
"additionalProperties": false
}| memory_mb | integer | VM memory in MB (create only) |
| wait_seconds | integer | How long to wait for the guest agent before returning (0-480). Keep this under your MCP client's per-call timeout (often ~120s): the call returns as soon as the agent is ready (~45-60s for a fresh ephemeral tester), so the default 90 leaves margin and won't hang the tool call to a client-side timeout. |
| session_token | any | Session token from a previous tool response (pass this to maintain session continuity) |
| lab_network_id | any | Logical tester network belonging to that lab |
| persistence_gb | integer | Zone-2 persistence disk size in GB (create only). Default 0 = no persistence disk: an ephemeral tester provisions fast and reliably. A persistence disk triggers a first-boot init+reboot that can push provisioning past a client's tool-call timeout (and can leave the guest agent down mid-reboot) — only set >0 (or -1 for the server default) if you truly need state to survive reboots. |
{
"type": "object",
"properties": {
"app": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "App this tester is for, e.g. 'knostra'. Identity is tied to the app's URL host (see app_url): you get ONE reused VM per app/host, shared with that app's test-run pool — the same app always returns the same VM. To run more tests at once, scale the app's pool with scale_tester_pool instead of creating extra VMs."
},
"vcpus": {
"type": "integer",
"default": 2,
"description": "Virtual CPUs (create only)"
},
"lab_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Owned private lab; selects a fresh lab-scoped tester rather than an app pool"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"app_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The app's URL, e.g. 'https://staging.knostra.ai'. The tester VM is keyed by this URL's host so every run for the same app/env reuses ONE VM. Pass it whenever known; falls back to keying by `app` when omitted."
},
"memory_mb": {
"type": "integer",
"default": 4096,
"description": "VM memory in MB (create only)"
},
"wait_seconds": {
"type": "integer",
"default": 90,
"description": "How long to wait for the guest agent before returning (0-480). Keep this under your MCP client's per-call timeout (often ~120s): the call returns as soon as the agent is ready (~45-60s for a fresh ephemeral tester), so the default 90 leaves margin and won't hang the tool call to a client-side timeout."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (pass this to maintain session continuity)"
},
"lab_network_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Logical tester network belonging to that lab"
},
"persistence_gb": {
"type": "integer",
"default": 0,
"description": "Zone-2 persistence disk size in GB (create only). Default 0 = no persistence disk: an ephemeral tester provisions fast and reliably. A persistence disk triggers a first-boot init+reboot that can push provisioning past a client's tool-call timeout (and can leave the guest agent down mid-reboot) — only set >0 (or -1 for the server default) if you truly need state to survive reboots."
}
},
"additionalProperties": false
}| The build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it. |
| session_token | any | Session token from a previous tool response (a guest cannot verify) |
{
"type": "object",
"required": [
"status"
],
"properties": {
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "What you verified and anything you could not verify, in plain words"
},
"status": {
"type": "string",
"description": "Phase completion: passed if you found no defects; failed if you found defects after checking the remaining independent claims. Both submit all evidence for independent grading and continue to the installed phase when required. A failed check does not justify ending early. Use error or skipped only when meaningful or safe continuation is blocked; explain why in notes. These stop before installation."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key, unless it is already the Authorization header"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (a guest cannot verify)"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"vm_name": {
"type": "string",
"description": "Your tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-')"
},
"tab_filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional URL prefix to pick which browser tab to query."
},
"include_perf": {
"type": "boolean",
"default": false,
"description": "Include per-stage timing metrics in the response."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"collect_duration_ms": {
"type": "integer",
"default": 0,
"description": "If > 0, keep the DevTools session open for this many ms collecting console errors, exceptions, and failed network requests. 0 = snapshot only (no live collection). Clamped to [0, 10000]."
}
},
"additionalProperties": false
}| Argument | Type | Description |
|---|---|---|
| file | any | One evidence file to return, by the exact name listed in `files` (e.g. of-firstrun-gui-session.log). Omit to get all of them. Explicit source:<entrypoint> (e.g. source:fedora_build.sh) reads only a supported current build entrypoint, never arbitrary files. |
| api_key | any | Your OpenFactory MCP API key (optional) |
| build_id* | string | The build whose harvested build-script evidence to read. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"required": [
"build_id"
],
"properties": {
"file": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "One evidence file to return, by the exact name listed in `files` (e.g. of-firstrun-gui-session.log). Omit to get all of them. Explicit source:<entrypoint> (e.g. source:fedora_build.sh) reads only a supported current build entrypoint, never arbitrary files."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"type": "string",
"description": "The build whose harvested build-script evidence to read."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"build_id"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"build_id": {
"type": "string",
"description": "The build ID to check"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}| api_key |
| any |
| OpenFactory MCP API key (optional). |
| category | any | Restrict the index to one category directory, e.g. 'desktop', 'services', 'security'. Ignored when feature_ids is given. |
| feature_ids | any | All features to read in one call, even when only one is needed. Omit to get the feature index; maximum 32. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict the index to one category directory, e.g. 'desktop', 'services', 'security'. Ignored when feature_ids is given."
},
"feature_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "All features to read in one call, even when only one is needed. Omit to get the feature index; maximum 32."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
}
},
"additionalProperties": false
}| search_text | any | Literal text to find within one bounded log window, with nearby context. Requires start_byte and repository. |
| last_completed | boolean |
{
"type": "object",
"required": [
"project",
"package"
],
"properties": {
"arch": {
"type": "string",
"default": "x86_64",
"description": "Build architecture."
},
"package": {
"type": "string",
"description": "OBS package name returned by submit_obs_package."
},
"project": {
"type": "string",
"description": "Full OBS project path returned by submit_obs_package."
},
"repository": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OBS repository such as Debian_13. Defaults to the first repository OBS reports a result for."
},
"start_byte": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"default": null,
"description": "Optional bounded historical search offset. Requires repository and search_text."
},
"tail_lines": {
"type": "integer",
"default": 400,
"description": "How many trailing log lines to return (max 2000)."
},
"search_text": {
"anyOf": [
{
"type": "string",
"maxLength": 128,
"minLength": 1
},
{
"type": "null"
}
],
"default": null,
"description": "Literal text to find within one bounded log window, with nearby context. Requires start_byte and repository."
},
"last_completed": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}| Read the authorized project's native public signing-key SHA256, for authenticating a portable package bundle; returns no key or credential bytes. |
{
"type": "object",
"required": [
"project",
"package"
],
"properties": {
"package": {
"type": "string",
"description": "OBS package name returned by submit_obs_package."
},
"project": {
"type": "string",
"description": "Full OBS project path returned by submit_obs_package, or build:<UUID> to observe this account's package project for an authorized build. The alias does not prove an unrecorded source revision."
},
"include_repository_key_digest": {
"type": "boolean",
"default": false,
"description": "Read the authorized project's native public signing-key SHA256, for authenticating a portable package bundle; returns no key or credential bytes."
}
},
"additionalProperties": false
}| Argument | Type | Description |
|---|---|---|
| api_key | any | Your OpenFactory MCP API key, unless it is already the Authorization header |
| build_id | any | The build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it. |
| session_token | any | Session token from a previous tool response (a guest cannot verify) |
{
"type": "object",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key, unless it is already the Authorization header"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (a guest cannot verify)"
}
},
"additionalProperties": false
}| api_key |
| any |
| Your OpenFactory MCP API key (optional) |
| command | any | Shell command for `type="exec"`. Use `script` instead for multiline or complex shell work. |
| content | any | Text content for `type="file_write"`. |
| service | any | Systemd service name for `systemd_status` or `systemd_action`. |
| timeout | integer | Timeout in seconds for `type="exec"` or the legacy JSON action. |
| vm_name* | string | VM name or UUID to run the guest-agent command on. For a build goal this is the of-test-* VM that booted your image: use the vm_name returned by resume_test_environment, or vms[].vm_name / environment.snapshot.vm_name from get_test_results. |
| content_b64 | any | Base64-encoded file content for `type="file_write"`. Use this when you need exact bytes. |
| session_token | any | Session token from a previous tool response |
| service_action | any | Service action for `type="systemd_action"`: `start`, `stop`, `restart`, `enable`, `disable`, or `reload`. |
{
"type": "object",
"required": [
"vm_name"
],
"properties": {
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Path for `file_read` or `file_write`."
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Preferred structured action type. Supported values: `ping`, `exec`, `file_read`, `file_write`, `systemd_status`, `systemd_action`."
},
"action": {
"type": "string",
"default": "",
"description": "Legacy JSON action object. Preferred usage is the structured fields below (`type`, `command`, `script`, etc.). Supported types:\n {\"type\": \"ping\"} — Check if guest agent is available\n {\"type\": \"exec\", \"command\": \"ls -la /tmp\"} — Run a shell command (optional: \"timeout\": 60)\n {\"type\": \"exec\", \"script\": \"#!/bin/bash\\nset -e\\nwhoami\\npwd\"} — Run a multiline bash script without client-side shell escaping\n {\"type\": \"file_read\", \"path\": \"/etc/hostname\"} — Read a file from the VM\n {\"type\": \"file_write\", \"path\": \"/tmp/hello.txt\", \"content\": \"hello world\"} — Write a file\n {\"type\": \"systemd_status\", \"service\": \"sshd\"} — Get service status\n {\"type\": \"systemd_action\", \"service\": \"sshd\", \"action\": \"restart\"} — Start/stop/restart/enable/disable a service\n\nExamples:\n {\"type\": \"exec\", \"command\": \"df -h\"}\n {\"type\": \"file_write\", \"path\": \"/tmp/test.sh\", \"content\": \"#!/bin/bash\\necho hello\"}\n {\"type\": \"systemd_status\", \"service\": \"nginx\"}"
},
"script": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Multiline bash script for `type=\"exec\"`. The server stages it in the guest and runs it, which avoids nested JSON and shell escaping."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key (optional)"
},
"command": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Shell command for `type=\"exec\"`. Use `script` instead for multiline or complex shell work."
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Text content for `type=\"file_write\"`."
},
"service": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Systemd service name for `systemd_status` or `systemd_action`."
},
"timeout": {
"type": "integer",
"default": 60,
"maximum": 300,
"minimum": 1,
"description": "Timeout in seconds for `type=\"exec\"` or the legacy JSON action."
},
"vm_name": {
"type": "string",
"description": "VM name or UUID to run the guest-agent command on. For a build goal this is the of-test-* VM that booted your image: use the vm_name returned by resume_test_environment, or vms[].vm_name / environment.snapshot.vm_name from get_test_results."
},
"content_b64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Base64-encoded file content for `type=\"file_write\"`. Use this when you need exact bytes."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response"
},
"service_action": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Service action for `type=\"systemd_action\"`: `start`, `stop`, `restart`, `enable`, `disable`, or `reload`."
}
},
"additionalProperties": false
}| boolean |
| Stop a still-running VM only after its test finished failed/error, then inspect its disk read-only. Active tests and passing VMs are refused. |
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "For ls/cat: an absolute path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d"
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Logical VM of the run; defaults to primary"
},
"run_id": {
"type": "string",
"description": "Test run whose installed disk to read"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"operation": {
"enum": [
"summary",
"ls",
"cat",
"journal"
],
"type": "string",
"default": "summary",
"description": "summary, ls, cat or journal"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"quiesce_failed": {
"type": "boolean",
"default": false,
"description": "Stop a still-running VM only after its test finished failed/error, then inspect its disk read-only. Active tests and passing VMs are refused."
}
},
"additionalProperties": false
}| create_chat | boolean | Create a chat for this build, seeded with the prompt and a recipe card, and link it so the build is reachable from the sidebar and opens the build panel. Leave on unless you're generating bulk/QA builds. |
| build_context | any | Structured Chat/TTY build selections to apply to the recipe. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
| platform_agent | boolean | Hand this build to OpenFactory's own goal agent instead of driving it yourself. A paid add-on: included with the Builder, Team, Compliance and BYOC Fleet plans, and refused with error_code=upgrade_required on a plan without it. Omit it and YOU drive -- you get the worktree and no platform agent is started, which is the normal way to use this tool and costs no upgrade. |
| owning_conversation_id | any | Existing owner-scoped conversation to bind before goal/worktree preparation. Used by the unified v3 harness. |
{
"type": "object",
"required": [
"recipe"
],
"properties": {
"prompt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The owner's original natural-language request, if there was one. Persisted privately as durable planning intent and seeded as the opening user message; provide the owner's words, not a narrowed recipe summary."
},
"recipe": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"additionalProperties": true
}
],
"description": "The build recipe as a JSON object (or a JSON string). Required: name, base_image. Put OS features, packages, services, users, networking, and security under os."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"create_chat": {
"type": "boolean",
"default": true,
"description": "Create a chat for this build, seeded with the prompt and a recipe card, and link it so the build is reachable from the sidebar and opens the build panel. Leave on unless you're generating bulk/QA builds."
},
"build_context": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Structured Chat/TTY build selections to apply to the recipe."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
},
"platform_agent": {
"type": "boolean",
"default": false,
"description": "Hand this build to OpenFactory's own goal agent instead of driving it yourself. A paid add-on: included with the Builder, Team, Compliance and BYOC Fleet plans, and refused with error_code=upgrade_required on a plan without it. Omit it and YOU drive -- you get the worktree and no platform agent is started, which is the normal way to use this tool and costs no upgrade."
},
"owning_conversation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Existing owner-scoped conversation to bind before goal/worktree preparation. Used by the unified v3 harness."
}
},
"additionalProperties": false
}| The build whose knowledge scope to query. |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
| include_learned_rules | any | Also include learned_rules (previously VERIFIED remediations for this build's base image) and config_baseline. Default: only on this session's first call for this build; true repeats them, false omits them. |
{
"type": "object",
"required": [
"build_id",
"query"
],
"properties": {
"k": {
"type": "integer",
"default": 6,
"description": "Maximum evidence hits to return (capped at 12)."
},
"query": {
"type": "string",
"description": "What you need to know — a failure summary, feature question, or capability you are about to implement."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"build_id": {
"type": "string",
"description": "The build whose knowledge scope to query."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
},
"include_learned_rules": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Also include learned_rules (previously VERIFIED remediations for this build's base image) and config_baseline. Default: only on this session's first call for this build; true repeats them, false omits them."
}
},
"additionalProperties": false
}| subject_contains |
| any |
| Optional substring expected in the subject, e.g. 'verification' |
{
"type": "object",
"properties": {
"sender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional sender filter, e.g. '[email protected]' or a domain"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MCP API key"
},
"for_user": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Read the OTP for THIS OpenFactory user (id or email) instead of the caller. Only honored for the system agent / super-admins — the Gmail connection may live under a different account than the calling identity."
},
"code_pattern": {
"type": "string",
"default": "\\b(\\d{4,8})\\b",
"description": "Regex for the code; the first capture group (or whole match) is returned"
},
"connection_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional local Composio Gmail connection_id to read from"
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token"
},
"within_seconds": {
"type": "integer",
"default": 300,
"description": "Only consider emails newer than this many seconds"
},
"timeout_seconds": {
"type": "integer",
"default": 90,
"description": "How long to poll for the email before giving up"
},
"subject_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional substring expected in the subject, e.g. 'verification'"
}
},
"additionalProperties": false
}| string |
| What you did and what is visibly true as a result, e.g. 'Opened Settings > Appearance; the accent colour reads Orange and the title bars are orange'. One step per intent item. Never record a step for something you did not look at. |
| operation_id | any | Stable opaque ID, at most 128 characters, for this capture. Retry the same ID and content after a lost response. |
| session_token | any | Session token from a previous tool response (a guest cannot verify) |
| motion_seconds | any | Motion capture, for claims about video, animation or smoothness: the platform samples the VM display for this many seconds (more than 0, at most 10, about 30 fps) before the frame, and gives the judge the updates per second and the longest stall it measured, labelled VM display. Start the motion first; nothing is stored but the numbers. |
| intent_item_ids | any | The intent item ids (from get_verification_session) this step demonstrates, at most 8; the judge grades those claims on this frame first. |
{
"type": "object",
"required": [
"description"
],
"properties": {
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional detail — expected versus actual when a claim does not hold"
},
"status": {
"type": "string",
"default": "passed",
"description": "passed | failed | error | skipped"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your OpenFactory MCP API key, unless it is already the Authorization header"
},
"build_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it."
},
"app_run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Expected ledger from get_verification_session. Required with operation_id; a changed artifact or phase is refused."
},
"description": {
"type": "string",
"description": "What you did and what is visibly true as a result, e.g. 'Opened Settings > Appearance; the accent colour reads Orange and the title bars are orange'. One step per intent item. Never record a step for something you did not look at."
},
"operation_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Stable opaque ID, at most 128 characters, for this capture. Retry the same ID and content after a lost response."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response (a guest cannot verify)"
},
"motion_seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Motion capture, for claims about video, animation or smoothness: the platform samples the VM display for this many seconds (more than 0, at most 10, about 30 fps) before the frame, and gives the judge the updates per second and the longest stall it measured, labelled VM display. Start the motion first; nothing is stored but the numbers."
},
"intent_item_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "The intent item ids (from get_verification_session) this step demonstrates, at most 8; the judge grades those claims on this frame first."
}
},
"additionalProperties": false
}| api_key | any | OpenFactory MCP API key (optional). |
| context | string | Short markdown context shown on the card. |
| options* | array | 2-6 options: [{id, label, description, route?}]. |
| build_id* | string | The build the decision belongs to. |
| question* | string | The fork or problem, phrased for the user. |
| severity | any | minor | major | destructive. The server coerces UP (unset, no recommendation, drop-scope options, unsolvable → destructive). |
| session_token | any | Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity. |
| recommendation_option_id | any | Which option you would pick — required for a minor/major decision to auto-proceed. |
{
"type": "object",
"required": [
"build_id",
"question",
"options"
],
"properties": {
"kind": {
"type": "string",
"default": "architecture_fork",
"description": "architecture_fork | unsolvable | clarification."
},
"scope": {
"type": "string",
"default": "build",
"description": "build | platform. \"platform\": the blocker is the platform (installer driver, verifier, judge budget, engine); the question goes to OpenFactory operators, the owner is not asked, and the goal waits for an operator."
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "OpenFactory MCP API key (optional)."
},
"context": {
"type": "string",
"default": "",
"description": "Short markdown context shown on the card."
},
"options": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "2-6 options: [{id, label, description, route?}]."
},
"build_id": {
"type": "string",
"description": "The build the decision belongs to."
},
"question": {
"type": "string",
"description": "The fork or problem, phrased for the user."
},
"severity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "minor | major | destructive. The server coerces UP (unset, no recommendation, drop-scope options, unsolvable → destructive)."
},
"session_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Session token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity."
},
"recommendation_option_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Which option you would pick — required for a minor/major decision to auto-proceed."
}
},
"additionalProperties": false
}