> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Floot

> How to set up the Floot connector, plus the actions that are available.

![Floot](https://stackone-logos.com/api/floot/filled/svg)

Previewv0.1.0[See changelog](https://docs.stackone.com/connectors/floot/changelog.md)

[63 actions](#actions) · 1 auth method

Developer Tools
MCP

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [MCP (OAuth) · Connector Profile](https://docs.stackone.com/connectors/floot/guides/connector-profile/mcp-oauth.md)
>
> Each user signs in to Floot and approves access. No app registration required; the OAuth client is registered when the a...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [MCP (OAuth) · Link Account](https://docs.stackone.com/connectors/floot/guides/link-account/mcp-oauth.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

63 actions

ActionDescription

Get Visitor Analytics`floot_get_analytics`

The published app's visitor analytics, as the editor's Analytics tab shows them: visitors, page views and a daily trend,...

Generate Image`floot_generate_image`

Generate AI images into the project's asset storage, for PROJECT-SPECIFIC imagery (mascots, illustrations, app icons, a...

Upload Asset`floot_upload_asset`

Upload a binary asset (image, font, audio, …) you actually hold (generated, downloaded or read yourself) to the project'...

Request A File From The User`floot_request_user_upload`

Show the user an inline upload card so they can hand you a file from their device (image/font/audio/…) — it lands in the...

Delete Storage Files`floot_delete_storage_file`

Delete files from the project's storage (what the app uploaded or serves from /\_cdn/), by their full keys as run\_code\_in...

Fork Project`floot_fork_project`

Fork a project (main or any fork) into a new branch with its own database branch and test keys, when the user asks to fo...

List Branches`floot_list_branches`

List a project's main project and every branch you can open, with their ids, names and status. projectId may be the main...

Compare Branches`floot_compare_branches`

Show what merging one branch into another branch of the same project would change. projectId is always the TARGET (the b...

Read Merge Conflict`floot_read_merge_conflict`

Read one conflicted file of a merge in pages (cat -n style, 400 lines by default), with its conflict block line ranges....

Start Merge`floot_start_merge`

Merge sourceProjectId into projectId (the target). This changes the target: its code becomes the merged code, and the mi...

Get Merge Status`floot_get_merge_status`

State of a merge by mergeId (merges started in the UI too): running, done or failed. On failed: the failing step or migr...

Get Branch Settings`floot_get_branch_settings`

Read a branch's six switches (all off by default): Receive main's email, Send email, Scheduled jobs, Receive main's real...

Delete Branch`floot_delete_branch`

Permanently delete a branch: its files, database copy and comments (merged code stays). Only when the user asked. A bran...

Publish Card`floot_card_publish`

Internal bridge for the publish card (not for agents: use publish\_app and get\_job\_status).

Merge Card Bridge`floot_card_confirm_merge`

Internal bridge for the merge card's Merge button (not for agents).

Merge Card Status`floot_card_merge_status`

Internal bridge for the merge card's state (not for agents).

Resources Card Bridge`floot_card_confirm_app_connection`

Internal bridge for the resources card's Confirm button (not for agents).

Resources Card Bridge`floot_card_decline_app_connection`

Internal bridge for the resources card's Decline button (not for agents).

Upload Card Bridge`floot_card_upload_asset`

Internal bridge for the upload card (not for agents — use request\_user\_upload / upload\_asset). phase 'presign' mints the...

Query Database (Read-Only)`floot_query_database`

Run a READ-ONLY SQL query against the project's Postgres database (SELECT, EXPLAIN, etc.) — the Floot-managed database,...

Execute SQL (Writes)`floot_execute_sql`

Run WRITE SQL on the project's Postgres database (Floot-managed or an external one the user connected): CREATE/ALTER, IN...

Pull Database Schema`floot_pull_database_schema`

Introspect the database and write a typed schema helper the app uses for queries (kysely on current projects; some legac...

Add Dependency`floot_add_dependency`

Add npm packages to the project (validated against Floot's supported set — rejected packages get a supported alternative...

Remove Dependency`floot_remove_dependency`

Remove npm packages from a Floot project's dependency record (record-only; nothing runs).

List Project Files`floot_list_files`

List a Floot project's virtual file tree with sizes, plus its dependencies, current version (pass the version to write t...

Read File`floot_read_file`

Read a file from a Floot project (cat -n style); offset/limit for large files, column to start mid-line (a capped read n...

Read Files`floot_read_files`

Read up to 20 files in ONE call, much cheaper than repeated read\_file: prefer it whenever you need several files togethe...

Search Code`floot_search_code`

Search a Floot project's files (string or regex) with optional glob filters (e.g. \['components/\*', 'endpoints/\*\*']). Ret...

Write File`floot_write_file`

Create or fully overwrite a file in a Floot project. Content is written literally. Paths must follow the item scheme (se...

Edit File`floot_edit_file`

Replace old\_string with new\_string in a project file. old\_string must match the current content exactly (including white...

Apply Patch`floot_apply_patch`

Apply a V4A patch to a Floot project — create and update multiple files in ONE atomic operation. Format: "\*\*\* Begin Patc...

Rename File`floot_rename_file`

Rename one or more items and automatically rewrite every file that imports them. Use item names WITHOUT extensions (e.g....

Copy File`floot_copy_file`

Copy one or more items to new names (e.g. \{from:'components/Card', to:'components/BigCard'}). Item names without extensi...

Delete File`floot_delete_file`

Delete a project file. Deleting an item's main code file (e.g. components/Foo.tsx) removes the whole item including its...

Floot Guides`floot_get_guides`

Floot documentation for agents. Call with no arguments to list available guides. Pass `topic` for one guide (e.g. topic:...

Get Job Status`floot_get_job_status`

Poll a pending tool call by its jobId. Each poll either returns the final result (succeeded/failed/cancelled), or report...

Get Live Payments (Read-Only)`floot_get_live_payments`

Look up your Floot Payments records in Stripe across all your projects: one record by id, or a list of one record type....

Get Preview URL`floot_get_preview_url`

Show the user a live preview card and return the preview link. On an EXISTING project this is typically called EARLY, be...

Navigate The User's Preview`floot_navigate_preview`

Point the user's OPEN Floot preview at what you built, to SHOW it to them; pair it with screenshot\_preview to see it you...

Screenshot The User's Preview`floot_screenshot_preview`

Capture a screenshot of the user app. Call it whenever you want to SEE what the app currently looks like (layout, stylin...

Get Current Editor Context`floot_get_current_context`

What the user is looking at RIGHT NOW in their open Floot editor: the active page/component, the preview element they se...

View Annotation`floot_view_annotation`

View a screenshot annotation the user drew on the app preview (annotationId comes from get\_current\_context). Returns the...

List Projects`floot_list_projects`

List your Floot projects (id, name, last-updated, whether an app icon is set), most recently updated first. name\_filter...

Search Projects`floot_search`

Search your Floot projects and their code. Returns result ids usable with fetch. For richer options, list\_projects enume...

Fetch Search Result`floot_fetch`

Fetch a search result by id: a project overview ('\<projectId>') or a file ('\<projectId>:\<path>'). For direct access to a...

Create Project`floot_create_project`

Create a new Floot project (pre-seeded with the shared component library) and return its id. `initial_prompt` describes...

Update Project Metadata`floot_update_project_metadata`

Update project settings; current values appear at the top of list\_files. Changes reach the published app at the next pub...

Create Checkpoint`floot_create_checkpoint`

Create a NAMED checkpoint — a labeled restore point the user sees in the project's Checkpoints panel and can revert to l...

Get Publish Status`floot_get_publish_status`

Read-only publish snapshot for a project: published (true/false, with the live URL when published), customDomains (the u...

Compare With Published Source`floot_compare_published_source`

Read-only: the source changes a publish now would ship. Current saved code vs the live release (or release): both source...

Publish App`floot_publish_app`

Publish the app to production: the first publish, a new publish of changes the user wants live, or a custom domain. Read...

Unpublish App`floot_unpublish_app`

Take the published app offline and release its subdomain — destructive, confirm with the user first. Details: get\_guides...

List Available Resources`floot_list_resources`

List the env vars a project's code can use and the resources behind them: (1) resources CONNECTED to the project — usabl...

Provision Resource`floot_provision_resource`

Provision a Floot-managed backend resource for the project, fully server-side (Floot mints the secrets), and seed the wo...

Request External Resource`floot_request_external_resource`

Request the user's own credential for an outside service on this project: their OpenAI or Anthropic key, an external Pos...

Cancel Request`floot_cancel_request`

Withdraw a pending request you created — a credential request from request\_external\_resource, a custom-domain setup requ...

Get Logs`floot_get_logs`

Call FIRST when debugging a runtime problem (a 500, a failed request, a blank page, 'it doesn't work'), before theorizin...

Typecheck Project`floot_typecheck`

Typecheck the project (incremental tsc on the project VM). Type errors don't block the app from running. Without paths i...

Run Tests`floot_run_tests`

Run the project's Jasmine specs (helpers/\*.spec.tsx) on the project VM (jsdom): specs may render components (@testing-li...

Run Code In VM`floot_run_code_in_vm`

Run a Node.js snippet on the project's compute VM and return its stdout and stderr. ESM (a bare require() snippet runs a...

Run Code In Browser`floot_run_code_in_browser`

Run a TypeScript snippet inside the running app's preview document in the user's open Floot editor and return the string...

Call App Function`floot_call_app_function`

Run one function of this project's own backend code, exported from its helpers/flootAppExports.tsx (code written in this...

Run Scheduled Job`floot_run_scheduled_job`

Run one job of static/\_\_dev/scheduled-jobs.json once now on the preview backend (the editor's Run now; no publish needed...


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.