The tools
19 tools; each description tells the assistant when to use it. Arguments are JSON. Every tool works only on the signed-in account's own sites.
Reading
get_guide — Ginta's building guide; call it first. topic narrows it: developers, modules, seo, design, blocks, editing.
{ "topic": "developers" }
list_sites — the account's sites, plan and limits (websites, domains, files per site, credits, page views).
{}
→ "you@example.com: Light plan, 2 of 50 websites (room for 48 more), 0 of 1 custom domain."
check_name — is <name>.ginta.page free?
{ "name": "Duonos Namai" } → { "name": "duonos-namai", "available": true }
get_site — a site's files (text contents; images and fonts listed), and with history its versions.
{ "site_id": "duonos-namai", "paths": ["index.html"], "history": true }
get_messages — messages visitors sent through the site's forms and Parts, newest first; their emails, phone numbers and addresses are masked.
get_message — one message in full (message_id from get_messages), for when the owner wants to reply or call (personal data: owner only).
{ "site_id": "duonos-namai", "limit": 20 }
get_stats — visitors (views per day, top pages, referring sites) and phone speed/SEO scores with the issues to fix.
{ "site_id": "duonos-namai" }
→ "Visitors: 412 views in 30 days (18 today); top pages / (301), /menu (77); from google.com (96).
Phone scores: performance 99, accessibility 100, best practices 100, SEO 100. All on target."
preview_site — screenshots (desktop + phone) of a page, to review the design.
{ "site_id": "duonos-namai", "page": "menu" }
Writing
Every create_site, update_site and upload_files call needs a note: 1–2 plain sentences of what changed and
why. The owner sees it in Ginta's editor ("Changed by Claude: …") and Ginta's own AI reads it before the owner's next
change there. A call without one is refused with an error saying what to add.
Photos in pages: /_g/photo?q=… is a fitting free stock photo, resolved when the site is published. The owner's own
photos come first: attach_image action drop_link gives a link where they drop them from a phone or computer. The guide
(get_guide, topic design) has the details.
create_site — publish a new site. Send files, or no files to get an upload link for a build.
{ "name": "duonos-namai", "note": "Built the bakery site: menu, hours, contact form.", "notify_email": "labas@duonosnamai.lt",
"files": [{ "path": "index.html", "content": "<!doctype html>…" }, { "path": "img/logo.png", "content_base64": "iVBORw0…" }] }
→ { "url": "https://duonos-namai.ginta.page/", "site_id": "duonos-namai", "version": 1, "warnings": [] }
update_site — small find/replace edits (preferred), whole files, deletions, the form email. One new version.
{ "site_id": "duonos-namai", "note": "New bread prices from the owner.",
"edits": [{ "path": "index.html", "find": "Sourdough loaf €4.50", "replace": "Sourdough loaf €4.90" }] }
upload_files — many files, images, fonts, a whole build. files items take content, content_base64 or url;
no files → an upload link for a .zip. replace_all: true makes the upload the whole site.
{ "site_id": "my-app", "note": "Added the Inter font.", "files": [{ "path": "fonts/inter.woff2", "url": "https://example.com/inter.woff2" }] }
restore_version — undo: restores an earlier version as a new one.
{ "site_id": "duonos-namai", "version": 3 }
attach_image — puts the owner's photos and logo into the account (/_g/u/….webp), for pages and module content.
The owner's own photos go through a photo drop link (one website, one hour, no sign-in, works on a phone): the AI
gives the link, the owner drops the photos in, then dropped lists them with clean names ("burger.jpg" → burger).
This also works from Claude.ai, whose sandbox can't reach ginta.app.
{ "action": "drop_link", "site_id": "duonos-namai" } → { "drop_url": "https://ginta.app/drop/…" }
{ "action": "dropped", "site_id": "duonos-namai" } → { "photos": [{ "name": "bread", "path": "/_g/u/k3j9x2m1p0q8r7s6.webp", "bytes": 412000 }] }
{ "url": "https://example.com/our-shop.jpg", "filename": "shop.jpg" } → { "path": "/_g/u/k3j9x2m1p0q8r7s6.webp" }
manage_module — the ready-made parts (modules): module + action + data. Without module
it lists what the site's plan includes; action: "help" shows a module's actions and fields (no site_id needed for
either). A field the action doesn't know is refused with its name (items.0.colour: unknown field), never dropped.
{ "site_id": "duonos-namai", "module": "menu", "action": "setup",
"data": { "currency": "EUR", "sections": [{ "name": "Bread", "items": [{ "name": "Sourdough loaf", "price": 4.9 }] }] } }
manage_admins — who keeps a website up to date at its own address + /admin (list, add, remove). Admin
users sign in there with their email and a password (no Ginta account) and change its lists, menu, bookings… and read
its messages; never the design or code. add takes an optional password (without one they get an email to choose
their own); set_password (an admin user, or the owner's own email for a password of their own on this site) and
send_setup_link (a new "choose your password" email).
{ "site_id": "duonos-namai", "action": "add", "email": "maria@duonosnamai.lt" }
→ "Added maria@duonosnamai.lt and emailed them. They sign in at duonos-namai.ginta.page/admin with their email and a password they choose from the email we sent."
manage_site — the website itself, as in its Settings: delete (answers what would be lost; runs only with
confirm: true), rename (its name in Ginta), address (a new Ginta address; old ones redirect with a 301, the
site_id never changes), badge (show, hide, brand, account; all_sites: true for every website),
form_emails (on), remove_domain (with confirm: true), mark_read, delete_message (message_id),
visibility (public, private with password the first time, or offline: who can see the website; the
password is never sent back), move (move: "send" with the other person's Ginta email, answered first with what
moves and run only with confirm: true; move: "cancel" takes a waiting request back; the other person accepts only
in Ginta, and both accounts need a paid plan), webhook (status, set with an https url from Zapier, Make or n8n,
clear, test: every new entry goes to that app; see Zapier and Make), tracking (the
owner's Meta Pixel, Google Analytics and other tag IDs; Ginta adds the cookie banner, see tracking),
seo (the titles, descriptions and share images Google and shares show, see SEO).
{ "site_id": "duonos-namai", "action": "visibility", "visibility": "private", "password": "…" }
→ "duonos-namai.ginta.page is private now: visitors see a password page and type the password to see it."
{ "site_id": "duonos-namai", "action": "address", "address": "duonos-namai-vilnius" }
→ { "url": "https://duonos-namai-vilnius.ginta.page/", "previous_url": "https://duonos-namai.ginta.page/" }
manage_secrets — API keys, write-only: set, list (names only), delete. Secrets
{ "site_id": "my-app", "action": "set", "name": "WEATHER_API_KEY", "value": "…" }
manage_connections — let the site's JavaScript call an API with a secret: save, list, delete.
{ "site_id": "my-app", "action": "save", "name": "weather", "base_url": "https://api.openweathermap.org/data/2.5",
"secret": "WEATHER_API_KEY", "auth": "query", "auth_name": "appid", "methods": ["GET"] }
connect_domain — connect the owner's domain (exact DNS steps for their provider), or without domain check it.
No domain yet? The owner can buy one inside Ginta: the website's Settings → Address & domain → Find your domain
(paid plans; registered in their name and connected with no DNS steps). See Domains.
{ "site_id": "duonos-namai", "domain": "duonosnamai.lt" }
Errors come back as readable tool errors ('the text "Sourdough" appears 3 times… Add surrounding text so it is unique', "Your Free plan includes 20 websites…"), so the assistant can fix and retry.