blink_app
ChatGPTOpens Blink in ChatGPT's sidebar: the workspace's projects with their screenshots, each one's status, and a way to start a new app.
blink_backend_status
ChatGPTDeployment status, tier, and request count for a project's serverless backend (Pro+ plans).
blink_build_answer
ChatGPTAnswer the question card a build paused on (scope, plan, or a clarifying question). Answers are { question_id: option_id } with arrays for multi-select; omitted questions take the card's defaults. The build resumes immediately.
blink_build_prompt
ChatGPTSend a prompt to a project's Blink builder agent to start a build or follow up. Returns immediately with run_id and message_id while the build runs in the background. Consumes credits. Fails with PAUSED_ON_QUESTION while a question card is unanswered and BUSY while a turn is running. attachment_urls takes public file URLs (images, PDF, text, ZIP/TAR archives); files uploaded in the chat client arrive in attachments.
blink_build_status
ChatGPTState of the latest build turn: idle, running, completed, errored, stopped, or paused_hitl (with the question card), plus credits, duration, model, chat tail, and preview URL. The since parameter scopes the read to turns after a given message_id.
blink_build_stop
ChatGPTStop the running build turn; completed work is kept. Also dismisses an unanswered question card so a new prompt can be sent. No-op when nothing is running or pending.
blink_build_wait
ChatGPTBlocks up to max_wait_sec (default 25, max 45) until the build leaves the running state, then returns the build state (status stays running if the wait expired). With seen, it instead returns as soon as anything in card_key changes — used by the build card to follow a finished build to its screenshot and a live site.
blink_connector_authorize_url
ChatGPTReturn the URL that starts a connector's sign-in. The user opens it in a browser to finish; nothing is connected by calling this. Requires the owner or admin role.
blink_connector_disconnect
ChatGPTRemove one stored connection. Anything in the workspace relying on it stops working. Requires the owner or admin role.
blink_connectors_list
ChatGPTThird-party integrations available to the workspace and which are connected, with each connection's status and last use.
blink_db_execute
ChatGPTRun a single write SQL statement (INSERT, UPDATE, DELETE, CREATE, ALTER, DROP) against a project's database. Changes data permanently.
blink_db_query
ChatGPTRun a read-only SQL statement (SELECT, WITH, EXPLAIN, PRAGMA) against a project's database (SQLite/libSQL) and return rows. Write statements are rejected.
blink_db_schema
ChatGPTTables in a project's database with their columns (name, type, nullability, default, primary key).
blink_function_get
ChatGPTDetails for one edge function: slug, route, runtime and deployment state.
blink_function_logs
ChatGPTLogs for a project's backend: logs has one row per HTTP request, console has the backend's console output, including route errors. Filter by time window, errors only, or a text match on path, error, bodies and console output.
blink_functions_list
ChatGPTList edge functions deployed to a project.
blink_hosting_status
ChatGPTHosting state of a project: status (inactive, active, grace, offline) — active means the production URL serves the app, hosting tier and monthly credits, production URL, published version, the latest deployment, and deployed_via ('cli' when the live site was last deployed with blink deploy --prod).
blink_preview_errors
ChatGPTRuntime errors reported by the project's live preview (available only while a preview is open in Blink).
blink_project_create
ChatGPTCreate a new Blink project in the connected workspace from a one-line description; Blink names it. Optionally choose what it is built on. Returns the new project id. Without prompt nothing is built yet; with prompt the first build starts at once and run_id and message_id come back too, or build_error if it could not start. Consumes credits.
blink_project_get
ChatGPTDetails for one project: URLs, tech stack, hosting and sandbox state.
blink_project_panel
ChatGPTOpens one Blink project beside the conversation: its screenshot, build progress and live link.
blink_project_remix
ChatGPTCopy a project into the connected workspace as a new independent project, starting from the original's latest saved version (earlier versions are not copied). Set include_history to also copy the original's chat history.
blink_project_update
ChatGPTRename a project, change its description, or set visibility (public or private). Does not change project code.
blink_projects_list
ChatGPTProjects in the connected workspace, most recently updated first: id, name, slug, tech stack, and hosting_status (inactive, active, grace, offline) — only active is a live production site. Paged — pass offset to continue while has_more is true.
blink_publish
ChatGPTPublish the project's current build (the Blink sandbox build) to its production URL, where anyone with the link can open it. The first publish turns on hosting for the project; later calls rebuild the live site or bring a paused one back. Refuses with CLI_DEPLOYED when the live site was last deployed with blink deploy --prod, unless force is true. Returns state=live once the production URL serves the app, or state=publishing while the build is still running. Changes a public website and consumes credits.
blink_skill_create
ChatGPTCreate a workspace skill. name is a lowercase-hyphen slug; description (20-1536 chars) is what the builder reads when deciding to use it; files must include SKILL.md. Requires the owner or admin role.
blink_skill_delete
ChatGPTPermanently delete a workspace skill and its files. Blink-authored skills cannot be deleted. Requires the owner or admin role.
blink_skill_get
ChatGPTOne skill with the full text of its files, including SKILL.md.
blink_skill_update
ChatGPTChange a skill's description, enable/disable it, or replace its files. Files replace the whole set; pass content null to drop one. Requires the owner or admin role.
blink_skills_list
ChatGPTSkills available to builds in the connected workspace: name, description, whether enabled, file count and size. Includes Blink-authored shelf skills, which are read-only.
blink_source_diff
ChatGPTCompare two saved versions: which files were added, removed and changed, plus unified patches. Without paths only the first max_patches files are opened, so pass paths to diff specific files.
blink_source_file
ChatGPTRead one text file from the saved source at a version (default: latest). Binary and secret files are refused.
blink_source_tree
ChatGPTFile paths in the saved source at a version (default: latest). Secret files are never listed.
blink_source_versions
ChatGPTA project's saved versions (git checkpoints), newest first, with commit shas usable as ref for source reads.
blink_unpublish
ChatGPTDeactivate hosting: the production site goes offline and monthly hosting billing stops (unused credits are refunded pro rata). Project owner only.
blink_usage
ChatGPTThe workspace's Blink credits available to spend right now, plus the credits YOU (the connected user) used in this workspace per day, week, or month, most recent first. Other members' usage is not included. Everything is in Blink credits.
blink_version_restore
ChatGPTRestore the project's working state to a saved version. Later changes are set aside until restored again. Publishing afterwards promotes that version to production.
blink_version_save
ChatGPTSave a named snapshot of the project's current state as a restore point.
blink_workspace
ChatGPTThe connected Blink workspace: name, plan tier, the role of the caller, and the granted scopes.
blink_workspace_invite
ChatGPTEmail an invitation to join the connected Blink workspace. Invited people can open the workspace's projects and build in it, spending its credits; viewers can only look. Members are unlimited. Requires the owner or admin role; only the owner can invite admins. Sends an email that cannot be unsent.
blink_workspace_members
ChatGPTPeople in the connected workspace with their name, email and role. Owners and admins also see invites that have not been accepted yet.