One of 38 things your AI can do in your Instroc account, in Build
Build or edit an app
build_
Makes changes
Ask your AI
- Add a contact form
What it does
Builds or changes an existing Instroc app from a natural-language instruction, for an app with a known project_id:
'add a contact form', 'change the ...', 'make it ...', 'remove the ...'. A brand-new app comes from create_app instead. The build runs asynchronously: the result carries a job_id at once, get_app_status reports the build's progress, and publish_app pushes a successful build live. Earlier versions stay in the app's version history in the Instroc editor. Builds use Instroc credits. Builds started here use stock photography; made pictures and films are added in the Instroc editor. Builds started here do not read websites, including any named in the request, and do not read the app's existing table rows or users. Text files such as a menu or a price list can go in files (.txt, .md, .csv or .json, up to 20 files and 150 KB together); the builder reads them for this build as text supplied by the owner. Files the owner uploaded (logos, photos, PDFs) go in files by file_id; the builder is given each file's address in the app's storage, and sees images up to 5 MB. A refused file stops the call with its reason before anything is created or charged. A picture attached to the chat does not reach this tool as a file. An identical call from the same account, with the same files, while its build is queued or running, or within two minutes of it starting, returns that same build (reused is true) instead of starting and charging another. While people and data sharing is on for any app this account administers, and for 24 hours after it is turned off, this tool is held: it changes nothing and uses no credits, and the account holder does this in the Instroc editor.
This is the text your AI reads, word for word.
- Changes
- Yes.
- Cost
- Builds use Instroc credits.
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps or create_app.
messageRequired- Natural-language instruction for what to build or change. Examples: 'add a contact form with email validation', 'make the hero section dark', 'add a pricing page with three tiers'.
filesOptional- Files for this build, up to 50 entries. An entry is either text in the call or a stored file. Text in the call, such as a menu, a price list or notes: up to 20 entries, each a name ending in .txt, .md, .csv or .json and its plain UTF-8 content, up to 100 KB each and 150 KB together; it is read for this build only and is not stored as a file, so it works without Instroc Cloud, and it counts toward the build's credits like prompt text. A stored file is { file_id }: an image, PDF or text file the owner uploaded with get_file_upload_url and finalize_file_uploads, or on the upload page from create_upload_link (get_upload_status gives its ids).