External AI Connector Reference
CodeHealing.dev External AI Connector: All 127 Tools Explained
The CodeHealing.dev connector gives an external AI, such as Claude or Gemini, 127 tools to build, test, fix and publish your app. This page explains what each tool does and how it is used. Every tool also explains itself: its description ends with HOW TO USE (when to use it, which inputs are required, what to call next and what to be careful about), so an AI never has to guess.
How the connector works
The connector is a universal MCP connection. Any AI that supports MCP can connect to https://connector.codehealing.dev with your account, after connector access is enabled. Claude and Gemini are the AIs tested with the platform. Once connected, the AI works on your projects only through the 127 tools below, and each project keeps its own files, secrets and settings.
- It must select a project first. The AI calls select_project before it changes anything, so it always works on the exact project you mean.
- Your secrets stay hidden. The AI can see the names of your Secret Keys and a short masked preview, never the full value. Tools that need a key, such as server actions, add it on the server.
- Changes can be undone. Before the AI creates, edits, renames or deletes a file, a snapshot is saved, and restore_snapshot can bring the files back.
- Most tools are free. Reading, checking and testing tools cost nothing. Paid actions are publishing ($0.02 per publish), mobile app builds (a build fee, charged only when the build succeeds) and Self Healing diagnostics (charged per token: $5 for every 1 million input tokens and $15 for every 1 million output tokens, so the cost depends on how much is used).
A typical working order
- get_project_brief and get_project_map to understand the project.
- discover_environment to learn what code the platform supports.
- create_file, edit_file and the other file tools to build the app.
- build_project and get_fix_plan to find and fix errors, then get_preview_errors after every edit until it says OK.
- start_user_ai_test to test the app like a real person.
- get_publish_errors to confirm nothing blocks publishing, then publish_project, then watch_published_site to confirm the live app works.
- update_project_brief to save notes for the next chat.
Preview and publish error tools: the source of truth
Two tools tell the external AI the truth about whether the app compiles and whether it can be published: get_preview_errors and get_publish_errors. They are read-only and free. They read the real project files on the server and find compile errors automatically, so the AI does not have to guess or rely on memory.
The rule for the external AI
- The AI must not tell the customer that the app compiles, that the preview works or that it is ready to publish unless it has just called these tools and read the result.
- If a tool says ERROR or BLOCKED, the AI reports the error to the customer and fixes it before saying anything is working.
- After every fix, call the tool again. Only a result of OK, READY or LIVE counts as a pass.
get_preview_errors: what the preview shows
It reports the same alert a customer sees in Live Preview: Application Compilation Error, Preview paused on last working version. The result gives the status (OK, WARNING or ERROR), the file, the line and column, the message and the exact line of code, in the order the errors appear. Call it after every edit and before telling the customer the preview works.
get_publish_errors: what blocks publishing
It reports the same alert a customer sees on the Publish page: Cannot publish: Compilation Error, and Deployment failed. The verdict is READY, LIVE, DEPLOYING, BLOCKED or FAILED. It also catches a missing index.html, remembers a publish that was refused, and says when the live site is behind the latest edits. Call it before publish_project, again if a publish fails, and after publishing to confirm the result.
How to use and show the result
- Call the tool for the project.
- If there is an error, copy the file, line, column, message and code line exactly as returned.
- Explain it to the customer in plain words and show the code line.
- Fix the file with edit_file (or create_file if index.html is missing), then call the tool again until it says OK or READY.
The result is plain text, so the AI can place it anywhere it needs: in the chat reply, in a ticket or in a report.
What these tools check
They check JavaScript, TypeScript and JSX syntax (brackets, quotes, comments, template strings, regular expressions, JSX tags, import and export lines), imports that point to files that do not exist, and a missing index.html. They do not check type errors or problems that only show up when the app runs. For those, use build_project, get_fix_plan and start_user_ai_test.
User AI: how the external AI tests your app
User AI is the tester of CodeHealing.dev. The external AI that builds your app tells User AI exactly what to test. User AI then opens your app in a phone-size panel, speaks what it is doing, moves a visible cursor, clicks, types, checks the screen, shows any failure in red, and produces a report. It tests exactly the steps it is given and does not invent tests or guess.
Key rules
- It tests exactly the steps the AI sends. It explores on its own only if asked to.
- The test runs in the customer's browser, only while the Panel URL is open. If nobody opens the link, nothing is tested.
- A screen video with the spoken voice, and a text transcript, are saved automatically and linked in the report.
- Results are honest: a feature counts as tested only if the report shows PASS for a step that checks it.
The workflow, step by step
- Build or fix the app so the change shows in the project preview, then run run_ship_check to find mistakes in the project files.
- Write the test. JSON steps are recommended because they are exact. Use the texts and button labels the app really shows.
- Call start_user_ai_test with the project and the test steps. It returns a session id and a Panel URL.
- Give the Panel URL to the customer, who opens it and taps Tap to start the test, then keeps the page open and watches. The customer must open it within 3 minutes, or the session fails.
- Call get_user_ai_test_status every 15 to 30 seconds. The status is pending (not opened yet), running, done (all steps passed) or failed.
- When the status is done or failed, call get_user_ai_test_report and read every step. The report includes the video and transcript links.
- Fix what failed, tell the customer plainly what passed and failed, and run the test again if needed. Tests, screenshots, videos and transcripts are deleted automatically 1 hour after the test is created, so read the report and watch the video within that hour.
The test format
- Plain numbered text. One step per line, for example: open the app, type a name into the name box, click Join, check that Welcome is shown. It understands open, click or tap, type, select, press, scroll, wait and check.
- JSON (recommended). Steps with a name, an optional expected text, and a list of actions. A test can have up to 60 steps and up to 80 actions per step.
- Unknown actions fail. A step with an action User AI does not know fails with a clear message. If a step fails, the next steps still run.
The actions User AI can do
- open loads the app, or a path inside it.
- click clicks a button or link by its visible text, label or placeholder, once or up to 20 times.
- type types a value into a field found by its label or placeholder.
- select chooses an option in a dropdown.
- press presses a key such as Enter.
- scroll scrolls down or up.
- wait waits up to 8 seconds, for loading or live messages.
- expect and expect_not check that a text is, or is not, on the screen.
- expect_url checks that the address contains a text.
- expect_visible checks that an element is visible.
- expect_value checks that a field holds a value.
Testing with several accounts at once (up to 6 test accounts)
When one screen is not enough, such as a chat between people, a call, an admin with a customer, a game with several players or a stress test, User AI can run several test accounts in one test.
- Up to 6 screens. The test lists its screens, for example Harry, Edwin and Obasi. Each step names which screen or screens it runs on, or all of them.
- Each screen is its own person. Every screen is a separate tab with its own login and its own speaking voice, so each test account can sign in with different credentials.
- Steps run one after another. For live features, let one person act, then let the next person wait 2 to 3 seconds and check the result.
- Example. In a chat test, all screens open the app, Harry logs in, Edwin logs in, Harry sends hello, then Edwin waits and checks that hello appears.
Reading the results
- PASS means the check matched the screen. FAIL means it did not. ERROR means the step could not run, for example the element was not found. Not run means the test stopped before that step.
- The final result is PASS only when every step passed. After fixing a bug, run a new test, because an old report is not proof.
- get_user_ai_test_status shows live progress, get_user_ai_test_report gives the final report, and get_user_ai_frame returns screenshots of the run so the AI can see exactly what was on screen at a failure.
Video, voice and stopping
- Video and voice. User AI speaks every step and the voice is recorded in the video. The report links the recording and a text transcript.
- Stopping. The customer can press Stop in the panel, or the AI can call stop_user_ai_test. A stopped test counts as failed.
What User AI cannot test
- It tests apps in the CodeHealing.dev preview of your project, and needs the panel open in a browser.
- It cannot test real phone calls, the camera, the microphone, email or SMS delivery, push notifications, or native device features, and it does not do file upload, drag and drop or real payments.
- To test an AI chat inside your app without a browser, use run_chat_test or run_function_test.
Uploading images and app icons the fast way
Writing an image out as base64 text and sending it in many chunks is slow, because the AI has to type every character. Use the fastest method that your AI can do:
- get_upload_link: the AI asks for a private upload link, then sends the file from disk with one command (for example curl -X PUT --data-binary @logo.png with the link). One step, any size up to 25 MB, no base64 and no chunks. The link works once, for 1 hour, for that project only. The reply gives the public image address and the image id.
- import_image_from_url: if the picture is already online at a public address, the AI sends only the address. One call.
- upload_image: for small images such as icons (about 300 KB or less), sent as base64 in one call.
- begin_image_upload, upload_image_chunk and finish_image_upload: the last resort. Send all chunks together in one turn.
For an app icon, upload a square PNG of about 1024 by 1024, then call set_app_icon with the image id. It creates every icon size and the manifest file.
The 127 tools, one by one
Each tool below has its name, what it does and how it is used. They are listed in alphabetical order.
1. add_element
Adds a live element on top of a screen picture: a button (with a loading spinner, success and error looks, a press animation, page navigation or a multi-step sequence), text, an icon or image, or a rolling loader. Positions are given in percent of the picture, so the element stays aligned on every screen size. Use it after set_design_screen. The preview files rebuild automatically and the result shows how to mount the element.
2. add_hotspot
Adds an invisible tappable area on top of an image. Positions are percentages of the image (0 to 100), so the area stays aligned at every screen size, and the image itself is never changed. Use it to turn parts of a picture into buttons, then check the result with preview_hotspots_overlay.
3. apply_safe_fixes
Applies only mechanical fixes that never change logic, data or colors: page language, allowing zoom, the phone-screen tag, the default page title, inline playback for autoplay videos, a visible keyboard focus ring and text smaller than 12px raised to 12px. An undo point is saved first, and the result gives a batch id that restore_snapshot can undo. Use dryRun to preview without changing anything, then run get_fix_plan for what still needs a decision.
4. begin_image_upload
Starts a chunked upload. This is the slowest way and only a last resort: use get_upload_link (one command) or import_image_from_url first. If chunks are the only choice, it returns an upload id; then send all chunks together in one turn with upload_image_chunk (up to 512 KB of raw data each) and finish with finish_image_upload.
5. build_aab
Builds the Google Play version of the app (an .aab file) in the cloud. Use it instead of build_apk when the app will be published on Google Play. An .aab file cannot be installed on a phone directly: after it succeeds, send it to Google Play with publish_to_play. It uses the same settings and readiness checks as build_apk, refuses a placeholder App ID because Google Play never lets the App ID change after the first upload, and needs a versionCode higher than any version already uploaded. Check progress with get_build_status.
6. build_apk
Builds the Android app (APK) in the cloud and gives a download link people can tap to install on their phone, with no app store. It runs check_mobile_ready first and refuses if something must be fixed. It takes about 8 to 15 minutes: the call returns at once with a build id, then call get_build_status every few minutes until it says SUCCEEDED and gives the download link (valid 24 hours). A build costs the build fee shown by check_mobile_ready and is charged only when the build succeeds. Limits: 5 builds per project per day and one build at a time per project.
7. build_ios
Builds the iPhone app in the cloud and uploads it to the customer's own App Store Connect, where it appears in TestFlight after Apple finishes processing (about 10 to 30 minutes). It uses the same settings as the Android tools and refuses a placeholder App ID. Run check_appstore_ready first: the customer needs their own Apple Developer account, an app created in App Store Connect with the same bundle id, and an App Store Connect API key saved in the Secret Keys page.
8. build_project
Runs a real sandbox build check and returns genuine syntax and JSX compilation errors with line numbers. It uses no credits. Run it after changing files and before publishing.
9. cancel_build
Cancels an Android or iPhone build that is queued or running. Nothing is charged for a canceled build.
10. check_appstore_ready
Checks that a project can be built and uploaded to the App Store. It is read-only and free. It verifies the mobile settings, a final App ID and version name, that the customer saved the required Apple keys in the Secret Keys page, that Apple accepts the key, and that App Store Connect already has an app with this bundle id. If something is missing, it lists the exact one-time steps the customer must do by hand. Nothing is created or uploaded.
11. check_file_environment_compatibility
Reports what the CodeHealing.dev environment supports for a file type or source file: runtime capabilities, browser preview support, compiler targets, platform limitations and verified alternatives. It runs no diagnostic and costs nothing. Use it before writing code in an unusual language.
12. check_mobile_ready
Checks that a project is ready to be built as an Android app. It is read-only and free. It verifies the saved settings, app name length, placeholder app id, that the published page loads with a phone viewport, that the icon is a readable square image, the loading image and time, sensitive permissions, a version number higher than the last successful build, that the build service is available and that the balance covers the build fee. The verdict is READY, READY WITH WARNINGS or NOT READY, with the exact fix for each problem.
13. check_play_ready
Checks that a project can be published to Google Play. It is read-only and free. It verifies the mobile settings and a final App ID, that the customer saved their Google service account key in the Secret Keys page under the name GOOGLE_PLAY_SERVICE_ACCOUNT, that Google accepts the key, that an .aab build exists, and that Google Play Console knows the app and lets the service account release it. Missing items are listed as exact steps the customer must do by hand.
14. check_project_secret
Checks whether a required API key or credential exists in the project's Secret Keys vault, by name, without revealing its value. If it exists, it returns safe details such as a masked preview, category and creation date. If it is missing, it explains how the customer adds it on the Secret Keys page.
15. compare_versions
Shows the project's version history. It is read-only and free. With no input it lists the most recent change batches, each with its files. With a batchId it shows the exact lines added and removed in every file of that batch. With a filePath it shows the history of one file. Use it to find what a mistake broke, then undo that batch with restore_snapshot.
16. configure_google_auth
Inspects, guides and configures Google Sign-In for the customer's app, which works for apps with a connected custom domain. It returns the addresses to register in Google Cloud Console, tells the customer to enter their two Google credentials on the Secret Keys page (GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET) or the Publish page, can generate the sign-in code for the app, and can verify the setup. It now uses the same engine as setup_google_auth and get_google_auth_status, which are the easier tools to use. The AI never asks for the Google client secret in chat.
17. create_file
Creates a new source file in the project. A snapshot is saved first, so the change can be undone.
18. create_folder
Creates a folder in the project workspace.
19. create_project
Creates a new project in the customer's account and returns its id, name and Workspace address, ready for editing with the code editor tools.
20. crop_image
Crops an image. Coordinates are percentages of the image. Because the size changes, hotspots on the source image are flagged for review.
21. delete_file
Deletes a file from the project. A rollback snapshot is saved first, so the file can be restored with restore_snapshot.
22. delete_image
Deletes an image and all of its hotspots from a project.
23. delete_project_file
Deletes one stored project file (a file added with upload_project_file or import_file_from_url). Its address stops working at once. Use the name shown by list_project_files.
24. diagnose_project_file
Runs a Self Healing diagnostic on one project file. The AI gives the file and a plain-language instruction, such as checking for exposed secrets or finding why something fails, and gets a written diagnosis back. Keys found in the file are hidden in the result. It is a paid feature charged per token: $5 for every 1 million input tokens and $15 for every 1 million output tokens. The cost depends on what is used, and it is charged only when a diagnostic completes successfully.
25. disable_google_auth
Switches Google sign-in off for the project. The keys stay saved. Call setup_google_auth to switch it on again.
26. discover_environment
Explains how apps are built and run: in the visitor browser with esbuild, with no Node, Vite or Tailwind build. It lists the supported code, what is not supported, file structure rules, how preview and publish work, how to see the exact error when code cannot run, and how project secrets may be used. An external AI must call it before writing code so the code is compatible.
27. edit_file
Changes an existing file. Either send the complete new file text, which replaces the whole file, or for a small change send the exact existing text (it must appear once) and its replacement. A snapshot is saved before every change.
28. enhance_image
Brightens and cleans an image without destroying it. It creates a new image version and always keeps the original. Brightness, contrast, saturation and sharpness never change the size, so hotspots stay aligned. autoClean applies automatic levels and sharpening. It is fast: a 1024x1024 app icon takes well under a second, and images up to 10 megapixels are accepted (PNG, JPEG, single-frame GIF and BMP; SVG and WebP cannot be changed here). The reply gives the new imageId and public url. To make an app icon brighter, enhance the square source icon, then call set_app_icon with image set to the new imageId.
29. erase_region
Removes text, a button or any mark from an image and rebuilds the background underneath, using only the pixels around it. It saves a new image of the same size, so hotspots and elements still line up, and the original is kept. Give one region (x, y, width, height in percent) or a list, or pass a color to force a solid fill. It works on PNG, JPEG, GIF and BMP.
30. execute_authenticated_api_request
Sends a request to an outside web service from the backend, using named credentials from the Secret Keys vault. The backend puts the secret into the request headers, query or authorization token itself and never returns the secret to the AI. The response is scrubbed of sensitive keys before it comes back.
31. extract_region
Cuts a piece out of an image and saves it as its own PNG, for example an icon or logo to reuse in a new button. The source image is not changed. It returns a link that can be used as imageUrl in add_element.
32. finish_image_upload
Assembles all chunks of a chunked upload, checks the real file type, stores the image and returns its public address.
33. get_build_status
Shows the status of an Android (APK or .aab) or iPhone build, by default the latest one: QUEUED, RUNNING with its phase, SUCCEEDED (APK download link and size, .aab ready for publish_to_play, or iPhone uploaded to App Store Connect), FAILED with the reason, or CANCELED. It is read-only. Wait a few minutes between checks (iPhone builds take 12 to 25 minutes).
34. get_database_blueprint
Returns safe SQL for the database tables an app needs, with row level security already switched on, and writes nothing. Describe the tables and an access type: owner (each signed-in user sees only their own rows, the default), public-read (everyone reads, only the owner writes), insert-only (for contact forms) or private (server only). Read the SQL, run it with run_sql, then run run_db_safety_check.
35. get_diagnostics
Shows project diagnostics: compiler error logs, recent file change history, saved snapshots and application status. Use it to understand what went wrong after a change.
36. get_fix_plan
Runs the file checks of run_ship_check, run_device_check, run_speed_check and run_db_safety_check in one read-only, free call and returns one ordered to-do list: must-fix items first, then should-fix items, each with the file, line, what is wrong and how to fix it. Call it after building, work through the list, then call it again until nothing is left.
37. get_google_auth_status
Read-only and free. Shows what is ready and what is missing for Google sign-in: connected custom domain, Google client ID and secret (read from the Secret Keys page keys GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET, or from the Publish page), and whether sign-in is switched on. Call it first. When something is missing it also lists the steps for the customer. It lists the exact addresses to register in Google Cloud Console and the fix for every problem. It never shows the secret. It also points to the complete guide (get_integration_recipe, recipe google-sign-in).
38. get_image_info
Returns an image's width, height and aspect ratio, so hotspot percentages can be calculated.
39. get_image_url
Returns the public address, dimensions and details of one image, found by id or file name.
40. get_integration_recipe
Gives ready-to-use, safe code for common features with no secret key in the app. Call it with no recipe to list them: sign-in with email and password, saving and listing a user's own data, a contact form, file upload, payment confirmation through webhooks, scheduled jobs, magic link and password reset, user roles and an admin area, live updates, and more. Then call it with a recipe name to get the code and steps. Recipe google-sign-in is the complete Google sign-in guide with the google-bridge function for an app that has its own Supabase.
41. get_live_errors
Reports problems that real visitors hit on the published app: crashes, failed actions, files that fail to load, pages that scroll sideways on a phone and very slow first screens, grouped with counts, page and device. Call it once with enable true (no republish needed), then again after the app has had visitors. It sends no personal data.
42. get_mobile_app
Shows the saved mobile app settings of the project, or suggested defaults when nothing is saved yet. It is read-only and free.
43. get_preview_errors
The source of truth for the Live Preview. Reports whether the preview shows Application Compilation Error and Preview paused on last working version, with the file, line, column, message and code line of each error, sorted by file and line. Read-only and free. Call it after every edit, and never tell the customer that the app compiles without it.
44. get_preview_url
Returns the project's preview address, its publication status and the settings for showing it responsively. Keep the preview address private, because it shows the app's source files.
45. get_project
Returns full details of a verified project: a summary of its files and its configuration.
46. get_project_brief
Returns the project's memory across chats: automatic facts (file count, last change, publish status and version, database connected, custom domains) plus the notes saved earlier with update_project_brief. Call it first in a new chat, before reading files, so work does not start from zero. It is read-only and free.
47. get_project_map
Gives one overview of a project so every file does not need reading: folders and sizes, the start point, pages and routes, the most reused files, the biggest files, database tables used, settings read from Secret Keys, unused files, unused packages and broken imports. Call it at the start of work on a project with more than a few files.
48. get_publish_errors
The source of truth for publishing. Reports whether publishing is blocked or failed: Cannot publish: Compilation Error with the file, line, column and code line, a missing index.html, a publish that was refused, and whether the live site is behind the latest edits. The verdict is READY, LIVE, DEPLOYING, BLOCKED or FAILED. Read-only and free. Call it before publish_project and again if a publish fails.
49. get_self_healing_diagnostic
Retrieves earlier Self Healing reports and the fix history for a project, optionally for one file. Use it to review what was diagnosed before.
50. get_self_healing_docs
Returns the complete guide to Self Healing: the workflow, parameters, the environment capability list, how usage is charged and how to word an instruction.
51. get_starter_kit
Provides ready-made, phone-friendly, accessible screens in plain React, TypeScript and CSS, so work does not start from a blank page. Call it with no kit to list the kits (landing page, login and sign-up form, dashboard shell). Call it with a kit id and optional app name to receive the files, write them with create_file, then run get_fix_plan.
52. get_upload_link
The fastest way to upload an image or an app icon. It gives the AI a private upload link that works once, for 1 hour, for that project only. The AI then sends the file straight from disk with one command (for example curl -X PUT --data-binary @logo.png with the link), so nothing has to be written out as base64 and nothing is split into chunks. Files up to 25 MB are accepted and checked for real image content. The reply gives the public image address and the image id, which set_app_icon can use next.
53. get_user_ai_docs
Returns the complete guide to User AI, the tester. Read it first if User AI has not been used before. It covers what User AI is, the exact workflow, the test format, every action, testing with several accounts, reading results, the screen video with voice, stopping, limits and ready examples. Topics: overview, workflow, test_format, actions, multi_screen, results, recording, stopping, limits, examples, full. Topic google_sign_in is the complete Google sign-in guide.
54. get_user_ai_frame
Returns captured screenshots and details from a running or finished User AI test. Pass sinceSeq to receive only newer frames. Use it to see exactly what was on the screen at a failure.
55. get_user_ai_preview_panel
Returns the live User AI panel for a running or finished test, so AI apps such as Claude can show the live testing screen inside the conversation.
56. get_user_ai_test_report
Returns the final report of a User AI test: every step marked PASS, FAIL, ERROR or not run, with what was seen on the screen, the failure reason, reproduction details, console and network error findings, and a link to the screen recording with voice. Read it fully, fix what failed, then run a new test.
57. get_user_ai_test_status
Shows live progress of a User AI test: the current step, the cursor position, recent actions and the pass and fail counters. Check every 15 to 30 seconds while the test runs. The status is pending, running, done or failed.
58. import_file_from_url
Downloads a file from a public https address (up to 10 MB) and stores it in the project, like upload_project_file. Use it for anything larger than about 1 MB, or when the file already exists online. Only public https addresses are accepted. The file is checked for type and real content, and the result gives the address to use in the app. Limits: 20 files and 25 MB per project.
59. import_image_from_url
Imports an image from a public web address into the project in one call, with nothing to write out. It is the fastest choice when the picture is already online.
60. inject_runtime_env_secrets
Binds chosen project secrets, by name, into the project's protected execution environment for commands such as run_terminal_command or build_project. The values are passed in memory and are never written into the project's source files.
61. list_appstore_builds
Lists the latest builds that reached the customer's App Store Connect: version, build number, processing state (PROCESSING, VALID, INVALID or FAILED) and upload time. It is read-only and free. Use it after build_ios to see whether Apple finished processing.
62. list_builds
Lists the 10 most recent builds of the project (Android APK, Google Play .aab and iPhone) with type, status, version, size and fee. It is read-only.
63. list_chat_test_runs
Shows recent chat test runs for the project, kept for 7 days: when, which action, how many passed and failed, with the questions and replies. Set detail false for counts only. Use it to compare before and after a fix. It is read-only and free.
64. list_elements
Lists the screens of a project with their picture, live elements and hotspots.
65. list_files
Lists all source files and folders in the verified project.
66. list_hotspots
Lists all hotspots on an image, or in the whole project, with positions and actions.
67. list_images
Lists every image in a project with name, type, size, dimensions and public address.
68. list_play_releases
Lists the latest releases the project sent to Google Play: track, version, status and the reason for any failure. It is read-only and free.
69. list_project_files
Lists the files stored with upload_project_file or import_file_from_url: name, size and address, plus how much of the 20-file and 25 MB limit is used. It is read-only and free.
70. list_project_secrets
Lists the names of the credentials in the project's Secret Keys vault, with a safe masked preview of each. The AI can see what is set up without ever seeing a full secret value.
71. list_projects
Lists all CodeHealing.dev projects owned by the signed-in user, with details and last updated time.
72. list_schedules
Lists the scheduled jobs of a project with their interval, number of runs, the last answer and the next run time. It is read-only and free.
73. list_server_actions
Lists the server actions of a project: name, on or off, which website each calls, the inputs visitors may send, calls today against the daily limit, total calls and the last answer or problem. It also shows the path the app calls. It is read-only and free.
74. list_upload_buckets
Lists the upload areas of a project with limits, allowed types and the number of files uploaded. It is read-only and free.
75. list_upload_files
Lists the latest files (up to 50, newest first) that app users uploaded to one upload area, with their links and sizes. It is read-only and free.
76. list_webhook_events
Shows the latest events received by the project's webhooks, newest first: time, type, whether the signature was verified, the event body and what the reaction answered. Use it to confirm that a payment or message really arrived. It is read-only and free.
77. list_webhooks
Lists the webhooks of a project with their address, signature check, reaction and counts. It is read-only and free.
78. pick_color
Reads the color of a spot on an image (the average of a small area). Use it to match a new button to the picture.
79. preview_hotspots_overlay
Renders a copy of the image with every hotspot drawn as a numbered colored box and returns it, so the AI can see whether each box sits exactly on its button. Repeat add, preview and adjust until the boxes are aligned.
80. publish_design
Rebuilds the overlay files from the saved screens and elements and returns the snippet that mounts them. It runs automatically after every add, update or remove. Call it by hand after changing hotspots or images.
81. publish_project
Publishes the project to the web and returns the live app address. It checks the code for errors first, and nothing is charged if the build has errors. A publish costs $0.02, the same as the CodeHealing.dev website. Publishing again with changed files makes a new version at the same address. Before publishing, call get_fix_plan, and afterwards call watch_published_site.
82. publish_to_play
Sends a finished Google Play build (.aab from build_aab) to the customer's own Google Play Console, using their saved service account key. Run check_play_ready first. By default it uses the latest finished build and the internal testing track, the safe place for a first upload. Production sends the app to everyone, so it needs confirmProduction true and the customer's clear approval.
83. read_file
Reads the complete text of one file in the project.
84. remove_element
Deletes one live element from a screen.
85. remove_hotspot
Deletes a hotspot.
86. remove_schedule
Deletes a scheduled job. It stops running at once.
87. remove_server_action
Deletes a server action. The published app can no longer call it.
88. remove_upload_bucket
Deletes an upload area and every file in it. Links to those files stop working.
89. remove_webhook
Deletes a webhook and its stored events. Its address stops working at once.
90. rename_file
Renames or moves a file within the project. A rollback snapshot is saved first.
91. replace_image
Replaces an existing image with new data. The image id and address stay the same and the version number goes up, so caches refresh.
92. resize_or_upscale_image
Resizes an image to an exact width and height or by a scale factor. Upscaling uses smooth interpolation and cannot invent detail. Hotspots on the source image are flagged for review.
93. restore_snapshot
Undoes or restores project files from a saved snapshot taken before a change. Use compare_versions to find the batch, then pass its id as snapshotId.
94. revert_image_to_original
Returns the original uploaded image in place of an enhanced, cropped or resized copy.
95. rollback_published
Rolls back the live site. It changes only what visitors see, and the source files are not changed. Call it with no version to list the published versions and which one is live. Call it with a version to publish an older version again as a new version, so nothing is deleted. It costs nothing, and visitors get the older version within about a minute. Then run watch_published_site.
96. rotate_image
Rotates an image by 90, 180 or 270 degrees. Hotspots on the source image are flagged for review.
97. run_chat_test
Tests the AI chat being built, with no browser. The app's chat is a server action that sends the visitor's message to an AI service. This tool sends test messages to that action exactly like a visitor and returns the real reply. Checks can be added per case: words the reply must or must not contain, a pattern, and minimum and maximum length. Conversation tests send several messages in order, and files can be attached. Sending requires confirm true, and results are kept for 7 days.
98. run_db_safety_check
Finds data-safety mistakes before real users arrive. It is read-only and free. It reads the SQL files and code for tables without row level security, policies that let everyone read or change data, secret database keys in app code, deletes or updates with no filter, database commands built by pasting text, and passwords kept in the browser. With a connected database it also tries to read each table with the public key, exactly as a stranger on the internet would.
99. run_device_check
Checks the code and styles for problems on phones and for people using screen readers or keyboards: a missing phone-screen setup, widths fixed wider than a phone, grids with too many columns, tap targets that are too small, form fields without labels, clickable things that are not buttons, hidden keyboard focus, tiny or low-contrast text and iPhone video problems. Each finding names the file and line and says how to fix it. It is read-only and free.
100. run_function_test
Tests the AI inside the app the way the app itself calls it. Many apps do not use a server action: the app's code calls its own Supabase function directly with the app's public key and the signed-in visitor's token. This tool calls that function from outside, with a test account and no browser, and returns the real reply. Read the app's code first to learn the exact request format. Sending requires confirm true.
101. run_seo_check
Checks that a public website is ready for search and sharing. It reads the page title, description, how links look when shared on WhatsApp, X and Facebook, the icon, page language, robots rules, robots.txt, sitemap.xml and a main heading. The verdict is NOT SEARCH-READY, SEARCH-READY WITH WARNINGS or SEARCH-READY, and each finding says how to fix it. It is read-only and free.
102. run_ship_check
Reads every file of the project and returns a PASS or FAIL checklist before publishing or testing. It finds secret keys written in the code, imported files or packages that do not exist, settings the code reads that the project does not have, a missing page title or phone-screen setup, leftover placeholder or debug code, localhost addresses, insecure http links, risky script-injection code and more. It is read-only and free.
103. run_speed_check
Finds what will make the app slow to open on a phone: very large files, big images embedded in code, heavy packages, oversized images, scripts and fonts that block the page, very fast timers, missing lazy loading and layout jumps. Each finding names the file or image and says how to fix it. It does not time a real page load: use watch_published_site for that. It is read-only and free.
104. run_sql
Runs a SQL query or database change on the project database through the same Run SQL engine as the workspace, with safety checks. Use it to create tables, add or change data and look at what is stored.
105. run_terminal_command
Runs a developer command in the project's protected terminal, such as pwd, ls, cat, node -v, npm run build, npm run test, npm run lint, git status and echo. It is a limited terminal, not a full computer terminal.
106. save_schedule
Creates or updates a scheduled job that runs one of the project's server actions again and again, for example a daily reminder email, refreshing data from an API or pinging a service. Create the server action first with save_server_action. It runs every 5 to 10080 minutes, the timer ticks every 5 minutes so a run can be up to 5 minutes late, each run counts against the action's daily limit, and a project can have up to 10 schedules.
107. save_server_action
Creates or updates a server action: a private call to an outside service that the published app can trigger without exposing a secret key. Use it for payments, emails, SMS, maps, AI services or any https API. Describe the request once: the web address, the method, which Secret Keys to attach and what the visitor is allowed to send. The key is added on the server and never reaches the visitor. Test it with test_server_action.
108. save_upload_bucket
Lets people using the published app upload files such as profile photos, receipts or PDFs. Define an upload area with a size limit (1 to 10 MB, default 5), the allowed file types and a daily limit. The result gives the exact code for the app. Files are checked for type and real content and are public to anyone with the link, so never use this for private documents.
109. save_webhook
Gives the project a public address that outside services can send events to, for example Stripe payment confirmations, GitHub pushes or WhatsApp and Telegram messages. Every event is checked for a valid signature, using a signing secret the customer saves on the Secret Keys page, and stored for 30 days. Events with a bad signature are refused.
110. scan_history_for_secrets
Looks for secret keys (Stripe, AWS, Google, GitHub, Slack, private keys and database keys) in the current code, in every recorded edit and in the last published versions. A key that was ever published is treated as leaked. It shows only the first characters of a key. Removing a key from the code does not make it safe: create a new key, delete the old one at the provider, then publish again. It is read-only and free.
111. search_code
Searches all project files for a word or pattern, without using any AI.
112. select_project
Finds and selects the exact project to work on, by id or name, and asks for clarification if the name is ambiguous. It must be called before any change to a project.
113. set_app_icon
Sets an uploaded image as the app icon and favicon. It creates the 16, 32, 180, 192 and 512 pixel versions, writes the manifest file and returns the exact head tags to add to index.html. Fast way: upload a square PNG of about 1024 by 1024 with get_upload_link, then call set_app_icon with the image id.
114. set_design_screen
Chooses the picture that is the background of a screen. Live elements (buttons, text, loaders and hotspots) are placed over it in percent, so they stay aligned at any size. Call it first, then add_element.
115. set_mobile_app
Creates or updates the mobile app settings: app name (up to 30 characters), a permanent app id such as com.yourcompany.shop, version name and version code, icon, an optional loading image and its minimum seconds (0 to 8), background and status bar colors, orientation, the start address and any needed permissions. Only the fields sent change. The app opens the published page full screen with no browser bar. Run check_mobile_ready next.
116. setup_google_auth
Does the whole Google sign-in setup in one call. The customer enters GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET on the Secret Keys page, never in chat. This tool copies them into the sign-in system, switches Google sign-in on, checks the domain, and returns the status, the addresses to register in Google Cloud Console, and ready-made app code (four files for src/auth plus the lines that mount them) that the AI creates with create_file. After that the AI publishes, runs test_google_auth, and asks the customer to press the button once on the custom domain. If the keys or the domain are missing, the reply lists plain steps for the customer (create the OAuth client in Google Cloud Console, add the two addresses, save the two keys on the Secret Keys page). The AI never asks for the secret in chat and never writes it into source code. It also returns the complete guide. An app with its own Supabase also needs the google-bridge function from get_integration_recipe, recipe google-sign-in.
117. start_user_ai_test
Starts a User AI test of the app in the preview, like a real person: it speaks what it will do, moves a cursor, clicks, types, checks the screen and shows any failure. The AI sends the exact steps to test. The call returns a session id and a Panel URL, which the customer opens to run the test. Then call get_user_ai_test_report for the result. Read get_user_ai_docs first if User AI is new.
118. stop_user_ai_test
Stops a running User AI test, closes its browser and builds a final report from what was found so far. A stopped test counts as failed.
119. test_google_auth
A safe self-test for Google sign-in. It asks the real sign-in server to prepare a Google sign-in and checks the client ID, the redirect address, the scope and the session check, then gives a plain verdict with the fix for each failure. It cannot sign in with a real Google account, so the customer presses the button once on the custom domain. It now checks the whole chain step by step (setup, broker, the bridge function of an app with its own Supabase, and the real user and session) and says at which step it failed. Pass bridgeUrl and bridgeKey for the bridge, and sessionToken after a real sign-in. Steps it could not check are marked SKIP, never PASS.
120. test_server_action
Tests a server action. By default it is a dry run that checks the inputs and shows the exact request that would be sent, with keys hidden, and sends nothing. Pass confirm true to really send it once with the real key. That can send a real email or take a real payment, so use test keys and addresses. Test calls do not use the daily limit.
121. update_element
Changes a live element. Send only the fields to change. The style is merged key by key, and a key sent as null is removed.
122. update_hotspot
Moves, resizes, renames or changes the action of an existing hotspot.
123. update_project_brief
Saves the project brief: a short written memory for the next chat covering what the app is, decisions and why, what is done, open problems and next steps. It holds up to 8000 characters, can replace or append, never touches code, and refuses keys, tokens and passwords. Call it at the end of every work session.
124. upload_image
Uploads an image into a project and returns a stable public address for use in image tags, CSS backgrounds, favicons, manifest icons and sharing tags. It supports png, jpg, gif, webp, svg, ico, avif and bmp up to 25 MB. Use it for small images such as icons (about 300 KB or less), sent as base64 in one call. For anything bigger use get_upload_link, the fastest way: the file goes from disk in one step with no base64 and no chunks.
125. upload_image_chunk
Sends one chunk of a chunked image upload (the slow last-resort way, prefer get_upload_link). Chunks are numbered from 0, may arrive in any order and should all be sent together in one turn.
126. upload_project_file
Puts a file into the project so the app can use it: a PDF, audio, a font, a CSV or JSON data file, a zip or a video. For pictures and icons use upload_image. The file is sent as base64, up to about 1 MB per call, and bigger files go through import_file_from_url. It is checked for type and real content, stored and served from the app's own address, and the result gives the exact address to use.
127. watch_published_site
Checks the published app the way a visitor would, after publish_project. It opens the platform link and each connected custom domain, follows redirects, checks that the page has content and that the scripts and styles it needs load, and reports the title, answer time, insecure links, whether the latest edits are live, and custom-domain or certificate problems. The verdict is BROKEN, WORKS WITH WARNINGS or WORKS. It is read-only and free.