Pugi
v1.0.1Your AI product team: build websites and web apps, design logos, check security, publish.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_balance Get credit balance
Use this when the person asks about their Pugi plan, credit or what they spent today. Free and read-only.
buy_credits_link Get a link to add credit
Get a link to add credit.
| Parameter | Type | Description |
|---|---|---|
amount_usd | number | How much credit to add. Rounded up to a pack of 5, 10, 25, 50 or 100 USD. Default 5. |
scan_url Check a website for security issues
Use this when the person wants a public website checked for security problems, for example "is my site secure?" or "check example.com". Free and read-only: HTTPS, security headers, cookie flags and exposed keys, with a grade from A+ to F and how to fix each finding. Not a pentest. Not for private or local addresses or for code repositories (scan_repo).
| Parameter | Type | Description |
|---|---|---|
url * | string | The public address to check, for example https://example.com |
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
make_logo Make up to four logos
Use this when the person wants a new logo, logo options, a brand mark or a brand identity for a business, shop, product or project, whether or not the request names Pugi, for example "make a logo for my bakery" or "make a logo for Blue Fern Bakery". It draws new logos from the interview and takes no uploaded image, so editing or keeping an existing logo file is outside it. A drawn logo changes through refine_logo, its files download from the card when they are ready, and a website can be built from the picked one. Pugi draws up to four whole logo options (PNG) from a short brand interview, the…
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | A unique string for this call, reused only to retry it. The same key with the same arguments is charged once. |
answers | array | Every answer so far to the interview questions (status needs_input): the id Pugi gave and the person's own words. |
business_name | string | The business name, as written by the user. |
colours | Optional. Hex colours: {"primary": "#1e3a8a", "secondary": "#f59e0b", "text": "#111827"}, or a list of one to three of them in that order. | |
description | string | The person’s own description of the business, including location, imagery and mood. |
draw_now | boolean | True when the user wants the logos drawn now, without more questions. |
industry | string | Optional. What the business does, for example "coffee shop" or "accounting firm". |
language | string | The language the person writes in, as a BCP 47 tag such as "uk", "de" or "pt-BR"; the questions come back in it. |
name | string | |
name_proof | string | Set by Pugi's card when the person confirms the name; empty in other calls. |
niche | string | |
palette | string | |
question_token | string | The question_token of the last make_logo result. With the trade, the answers or draw_now it continues that interview; without it a new brief starts. |
read_state | boolean | With question_token: reads what the logo card shows now (the drawn logos with their logo_id, state drawing while they are drawn, or that the person is still answering). A read draws nothing and charge… |
refine_notes | string | |
refines | array | |
style | string | Style words; styles also accepts a list. |
styles | array | The person’s own style words. |
tagline | string | |
trade | string | The answer to the first interview question (status needs_input): the slug of the option picked, for example "coffee-shop", or the person's own words. |
publish_status Get publish status
Use this when the person asks which of their Pugi sites are live and at what address.
| Parameter | Type | Description |
|---|---|---|
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
project_id | string | Optional project id. |
my_sites List my sites
Use this when the person refers to a site or app they built earlier (in this chat or another one) and its project_id is needed, for example to publish it. It also shows whether a site already exists before a new build. Free and read-only.
catalog_search Search the Pugi catalogue
Use this when the person wants ideas or a starting point for a site or app, for example "show me bakery websites". Free. Returns sites and apps people built with Pugi; when none matches it returns the nearest category and says so (match: nearest_category). Each has a brief and the tool that starts a similar project in this chat (build_with). It copies no one's code.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional category. |
limit | integer | How many cards to return. Default 10. |
query | string | Optional words for what the person wants, in any language, for example "booking" or "coffee shop". |
tags | array | Optional tags; a card matches when it carries every one, for example ["saas"]. |
scan_repo Check a GitHub repository for security issues
Use this when the person wants a public GitHub repository checked for leaked secrets, vulnerable or malicious dependencies and risky code. No code is run. 3 free checks a day per account, then $1 when the check finishes; a failed check costs nothing. Not for websites (scan_url) or private repositories.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | A unique string naming this check. The same key collects the result or retries the check, and is charged once. |
repo_url * | string | A public GitHub repository, for example https://github.com/owner/repo |
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
ref | string | Optional branch name. Default: the repository's default branch. |
build_app Build a web app
Use this when the person wants something people use: upload a photo, generate or transform pictures with AI, accounts or sign-in, saved data, a tool, a calculator, a game, bookings, a dashboard. It builds an app, not a landing page. An app that makes pictures with AI asks for the owner's own image-AI key and shows no fake results. brief is the customer's request in the customer's own words, with only the features they asked for (no sign-up, accounts, subscriptions or payments they did not name). When it is built Pugi checks it for security issues, and publish waits for that check. An app that…
| Parameter | Type | Description |
|---|---|---|
brief * | string | The app to build, in the customer's own words. |
idempotency_key * | string | A unique string naming this build. Reuse it only to retry the same call; it is never charged twice. |
brandHandoffId | string | BrandHandoff from logo.pugi.io. |
brief_confirmed | boolean | True only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back. |
brief_version | string | With brief_confirmed: the version of the summary the person agreed to, as returned with that summary. |
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
locale | string | Site language (legacy alias for site_language). |
logo_id | string | Selected logo_id returned by make_logo. |
max_usd | number | The most this build may cost in USD (default 5). |
pick | string | Console gallery starter slug. |
site_language | string | Language for the app content; independent of the chat card language. |
theme | string | Console theme slug. |
without_logo | boolean | True only when the person said this site should not use the logo they picked. |
build_site Build a website
Use this when the person wants a marketing website for a business, for example "a site for my bakery". Something people use (upload a photo, AI pictures, sign-in, a tool, a game) is an app, made with build_app. brief is the customer's request in the customer's own words, with only the features they asked for (no sign-up, accounts, subscriptions or payments they did not name). The first call starts nothing and returns a summary; its action.arguments start the build once the person agrees. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without…
| Parameter | Type | Description |
|---|---|---|
brief * | string | The customer's request in their own words: what the site is for and any pages, texts, colours or style they named, with only the features they asked for. |
idempotency_key * | string | A unique string naming this job. The same key returns the same job and is never charged twice. |
as_site | boolean | True only when Pugi said this sounds like an app (app_suggested) and the person chose a marketing website anyway. |
brandHandoffId | string | BrandHandoff from logo.pugi.io. |
brief_confirmed | boolean | True only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back. |
brief_version | string | With brief_confirmed: the version of the summary the person agreed to, as returned with that summary. |
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
locale | string | Site language (legacy alias for site_language). |
logo_id | string | Selected logo_id returned by make_logo. |
max_usd | number | The run ceiling in USD; plan builds are included in the subscription. For credit builds, the most this build may cost. Default 5. Credit accounts pay actual cost, usually less. |
pick | string | Console gallery starter slug. |
site_language | string | Language for the website content; independent of the chat card language. |
theme | string | Console theme slug. |
without_logo | boolean | True only when the person said this site should not use the logo they picked. |
edit Change a site Pugi built
Use this when the person asks to change a Pugi website or app from this conversation: "change the headline", "make the buttons green", "add a menu page". instruction is the change in the customer's own words, with only what they asked for. job_id or project_id comes from the last build result. It starts no new site or app. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without one (Claude Code or API) job_status reports it until the job is finished, stopped or failed.
| Parameter | Type | Description |
|---|---|---|
idempotency_key * | string | A unique string naming this job. The same key returns the same job and is never charged twice. |
instruction * | string | The change to make, in plain words. |
brandHandoffId | string | BrandHandoff from logo.pugi.io. |
brief_confirmed | boolean | True only after the person has seen the summary and agreed. In a chat, without it nothing starts and the summary comes back. |
brief_version | string | With brief_confirmed: the version of the summary the person agreed to, as returned with that summary. |
job_id | string | The job_id of the build (or of an earlier edit) of the site to change. |
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
locale | string | Site language (legacy alias for site_language). |
logo_id | string | Selected logo_id returned by make_logo. |
max_usd | number | The run ceiling in USD; plan edits are included in the subscription. For credit edits, the most this change may cost. Default 2. |
pick | string | Console gallery starter slug. |
project_id | string | Or the project_id of that site. |
site_language | string | Language for the website content; independent of the chat card language. |
theme | string | Console theme slug. |
without_logo | boolean | True only when the person said this site should not use the logo they picked. |
job_status Get the status of a build
Use this when the person asks how a Pugi build or change is going, or for a fresh preview link. In hosts that render the build card (MCP Apps or ChatGPT widget) the card tracks progress; in hosts without one (Claude Code or API) job_status reports it until the job is finished, stopped or failed. Preview links expire after 15 minutes; a new call returns a fresh link.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job_id build_site, build_app or edit returned. |
publish Publish a built site
Use this when the person asks to put a Pugi website or app live ("publish", "go live"). Free. Puts the latest version on its pugi.app address after the security check every Pugi publish runs; publishing again replaces the live version.
| Parameter | Type | Description |
|---|---|---|
idempotency_key | string | Optional. Reuse it to retry the same publish. |
job_id | string | The job_id of the build (or the latest edit) to publish. |
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
project_id | string | Or the project_id of that site. |
publish_with_samples | boolean | Only after the person saw the list of sample details this tool answered with (sample_facts_remain) and chose to keep them. |
select_logo Keep a logo
Use this when the person picks one of the Pugi logos shown in this conversation (in the card or in words, such as "the second one"). Saves that logo for their business and returns the summary a website or app will be built from, shown in the card. A change to that summary goes in correction. Draws and buys nothing.
| Parameter | Type | Description |
|---|---|---|
logo_id * | string | The logo_id of the picked logo, from the last logo result. |
correction | string | The person's correction to the summary, in their own words. |
language | string | The person's language. |
refine_logo Change the logos
Use this when the person wants Pugi logos already shown in this conversation changed or redone: other colours (named or hex, for example "dark blue and mint, #112A46 and #14B8A6"), a calmer or bolder mood, another icon or font, "like the second one but blue". Works on the latest set, picked or not. Draws up to four new options from the same brief with that change, with no questions; it does not edit one chosen design. The set is named by one of logo_id (from a logo result) or question_token (from the logo card). A different business name is a new brand (make_logo).
| Parameter | Type | Description |
|---|---|---|
change * | string | The change in the person's own words, for example "make it blue and calmer" or "dark blue and mint (#112A46, #14B8A6)". |
idempotency_key * | string | A unique string for this call, reused only to retry it. |
language | string | The language the person writes in, as a BCP 47 tag such as "ru". |
logo_id | string | One logo_id of the set to change, from a logo result (the picked one when there is one); the alternative to question_token. |
question_token | string | The question_token of the logo card; the alternative to logo_id. |
open_project Open in Pugi
Use this when the person wants to open, see or work on one of their Pugi sites or apps in Pugi itself (the full workspace: chat, live preview, files, publish, domain). Pass the project_id from a build or my_sites; without one it opens their newest project. Read-only: it builds, publishes and changes nothing.
| Parameter | Type | Description |
|---|---|---|
language | string | The language the person is writing in, as a BCP 47 tag such as "ru". |
project_id | string | The project to open, from a build or my_sites. Optional: the newest project when left out. |