Skip to content

Reference

What an agent reads before it works on a Vizitka site, and what a person can read to see the same thing. Nothing here is written by hand: the guides are the files the MCP server serves, and every other page is rendered from the code it documents each time the docs are built, so a name on these pages is a name the platform answers to today.

  • Build an app: live lists, rows that belong to people, and a chat: A site can be an app: pages that stay up to date while they are open, visitors who sign in, and rows that belong to the people who wrote them.
  • Building a site for this owner: Read this before you build a new site or rebuild most of one: the authoring guides (vzk/authoring and the focused guides it names) make a page valid, and this one makes the site belong to the person whose name is on it.
  • Copying an existing site: Read this when the owner already has a site and asks you to bring it over: match its look, but put its content where the owner can edit it in the Vizitka app.
  • Make ad creatives in the Creative studio: The Creative studio is where a site’s team makes its ad creatives: one picture, a carousel or a short video, each a frame on a project’s board beside its brief.
  • Agent instructions: This server edits the Vizitka sites of whoever authorized the connection.
  • Make an artifact: An artifact is something made for the site’s owner rather than for its visitors: a chart of the orders by month, a table of this week’s enquiries, a document, slides, a picture, a template that draws a blog post’s sharing picture, or a small program.
  • Run a site’s Meta ads: A site whose owner connected a Meta ad account can run ads on Facebook and Instagram from here: read every campaign and its numbers, make campaigns, ad sets and ads, and switch them on and off.
  • Draft a site’s invoices: A site with Payments keeps its owner’s invoices: who each is for, its lines, its tax and terms, and what was paid against it.
  • Photographer playbook: What a photographer’s clients look for before they get in touch, which pages carry it, and the worked site to start from; read building first.
  • Plumber playbook: What a plumber’s customers look for before they ring, which pages carry it, and the worked site to start from; read building first.
  • Choose which rows are public: Publication is a table setting, independent of its fields and read access.
  • Connect another service: An integration is a small program of the site that talks to another service: it reads an API on a schedule and keeps what it found in a table, sends something out when a row is added, or takes a call another service makes.
  • Run a workflow: A workflow is something the site does by itself: when a trigger fires, its steps run in order, each one handed what the step before it gave.
  • Read and remember Knowledge: Knowledge is what an organization keeps for its agents: memory pages that agents remember on, docs a person writes for reference, and skills, each a way of doing a job.
  • Writing a site in vzk: Read this guide before the first write: it holds how a site is laid out, the loop to work in, and how to read a refused write.
  • Integrations: code that talks to another service: Use this guide to write the code of an integration, integrations/<name>.ts, and the manifest beside it, integrations/<name>.json.
  • Client scripts and behaviours in vzk: Use this guide when a vzk site needs something to happen in the browser: a menu that opens, a gallery, a tab set.
  • A vzk site in several languages: Use this guide when a vzk site speaks more than one language.
  • Models: functions a whole site shares: Use this guide when the same logic repeats from page to page, when a table’s rows need methods of their own, or when a row must pass a rule before it is saved.
  • Pages, layouts, components and fields in vzk: Use this guide for the structure of a vzk site: what a page, a layout and a component are, the fields an owner edits apart from the markup, links, and pictures.
  • Styling a vzk site: Use this guide when changing how a vzk site looks: the classes its markup wears, the site’s stylesheet and tokens, and a file’s own <style>.
  • Tables, listings, row pages and forms in vzk: Use this guide when a vzk site needs repeated content or visitor submissions: reading a table’s rows in a page, the page each row has, search and a form that saves a row.
  • Scenarios: a site proves what it does: Use this guide to write a site’s scenarios and to play them before a merge.
  • Tools: Every tool a connected agent may call, with what each one does and takes.
  • git: The site’s branches, commits, diffs and merges, on this connection’s checkout.
  • vzk: Check the files with the compiler as a commit would, or play the site’s test scenarios.
  • help: Lists every command, or prints one command’s usage: help NAME.
  • get_site: The selected website: its friendly id, name, public address, every live page with its path and file, the branches ahead of main (pending_branches), your own draft (draft: drafts/<your account's id>, made from main by the first write that names no branch, or the site’s old shared draft while it is still yours), and a preview URL for the live site.
  • list_notifications: What the owner has been told about this site, newest first.
  • describe_vocabulary: Everything a site’s files may say, generated from the running code rather than written down, so it is never out of date.
  • list_files: Every file on this site’s disk, newest first: its name, what kind of file it is, how big it is, the public URL it is served at, and a reference ready to write in a page.
  • get_disk_usage: How much of this site’s storage is used and how much is left, in bytes.
  • make_picture_lighter: Makes a picture on this site’s disk lighter for phones, in its place: no side over 2400 pixels, saved again smaller, under the same key.
  • outline: The map of a site written in vzk at a branch or a commit (default main): its files, or with path one file’s blocks, each with its address, lines, size and note.
  • describe: What the blocks of a site written in vzk do, in sentences made from their code alone, at a branch or a commit (default main): with path every block of one file, with address one block, each with a person’s notes on it.
  • read_block: The text of one block of a vzk file, named by its address from outline (pages/index.vzk#hero), at a branch or a commit (default main), with the commit read, which write_block takes as base, and under notes what a person noted on the block.
  • write_block: Replaces one block of a vzk file on a branch with new text and leaves the rest of the file as it is, as one commit checked like git commit.
  • edit_block: Moves (within its file or to another), renames, removes or wraps one block of a vzk file on a branch by its address from outline, makes it a component or puts a component back, or adds new markup at a place, without sending the file.
  • run_tests: Plays the scenarios in a branch’s or a commit’s tests/<name>.test.ts files (default main) with stand-in visitors, signed in as a row the scenario names or not at all, and rows of their own; the site’s rows are never touched.
  • set_site_languages: Declares the languages a site serves.
  • update_site_meta: Sets what the site’s <head> says by default: the description a search result shows, who made it, the colour a phone browser paints its chrome, and whether search engines should index it at all.
  • create_table: Gives the site a table of its own: a named set of fields, and somewhere to put the rows.
  • update_table: Changes a table this site already has: what it collects, what it is called, who may write and read it, which rows are published, and how long it keeps its rows.
  • list_records: The newest 50 rows of one of this site’s tables, newest first: its tenant_record_id, its slug, its title, whether it is published, and where it answers.
  • get_record: One row whole: every value it holds, in the order its table declares them, plus its tenant_record_id, its slug, whether it is published, and the address it answers at.
  • create_record: Writes one row into a table this site owns.
  • update_record: Replaces what one row holds.
  • delete_record: Deletes one row.
  • list_workflows: Every workflow of this site: its uuid, handle, name, state (draft, active or paused), its trigger, when a live schedule runs next, and how its last run went.
  • get_workflow: One workflow whole: its definition as main has it, what is live, and its 10 newest runs with how each went.
  • get_workflow_run: How one run went: its status, and each step’s status, attempts and why it failed.
  • save_workflow: Writes a workflow’s file, workflows/<handle>.json, on branch from a whole definition, and nothing runs until merge_branch.
  • activate_workflow: Writes "state": "active" into a workflow’s file on branch.
  • pause_workflow: Writes "state": "paused" into a workflow’s file on branch.
  • run_workflow: Runs a workflow once, now, as a test, as the live site has it, whatever its trigger.
  • delete_workflow: Removes a workflow’s file from branch.
  • list_integrations: Every integration the live site runs: its uuid, its two files, its state, what starts it, the secrets it still needs saved, the ones a dry run is not given, and how its last run went.
  • get_integration_run: How one run went: its status, how many rows it added, changed and removed, and why it failed.
  • run_integration: Runs an integration once, now.
  • list_artifacts: The charts, tables, documents and small programs made for the owner, newest first, each with where it is drawn, whether it is public and any change of it that waits for the owner, the ones branches made first with the branch each goes live with, and the sources an artifact may read.
  • get_artifact: One artifact: its text and settings as main holds them, its versions, the pages its frame is on, and the change of it that waits for the owner with that change’s text (pending.text), which is what the next change builds on.
  • create_artifact: Makes an artifact for the owner, private, as artifacts/<slug>.vzk and its settings, committed on your own draft (or the branch named), so it goes live with it; an invoice template goes straight to main.
  • update_artifact: Changes an artifact: new text or new reads make a new version, and its title, mode or pin change it alone.
  • restore_artifact_version: Puts an older version of an artifact back as its newest, its text and what it reads, keeping its title.
  • duplicate_artifact: Copies an artifact under a new slug, private and unpinned, straight on main.
  • embed_artifact: Puts an artifact’s frame at the end of a page’s file, as one commit on a branch, checked like git commit, so the page shows it once the branch is merged.
  • share_artifact: Makes an artifact public at a link on the site, a frozen copy of its newest version, at address or its own name, or stops sharing it, which waits for the owner.
  • delete_artifact: Deletes an artifact’s two files from main; its versions stay in the site’s history.
  • list_studio_projects: The Creative studio’s projects you can see, newest change first, 25 a page, each with its frames and what waits on it.
  • get_studio_project: A project whole: its brief, its Disk folder and the files in it, its frames with their versions and Meta check counts, the room left, and the skill to read first.
  • save_studio_brief: Writes a project’s brief by question, and the angles and looks you propose.
  • make_creatives: Makes new frames on a project’s board, each a creative’s markup and settings, in one commit checked like git commit.
  • change_creative: Changes a frame’s files, each given whole, as a new version of it in one commit.
  • note_creative_check: Writes your judgments of a frame’s newest version as advice on its Meta check, in place of your earlier ones there.
  • list_creative_comments: What people say of a project’s creatives, newest first, up to 200, each with its frame, version and pin.
  • list_invoices: The site’s invoices, newest first, each with its number, status, client, total and amount due, and what is owed, late and paid over the last 30 days per currency.
  • get_invoice: One invoice whole: its client, lines, sums, tax, status, the payments against it, and once issued, who it is from and how to pay.
  • draft_invoice: Starts a draft invoice, with the owner’s defaults under what you send.
  • update_invoice_draft: Changes a draft: the fields you send, and its lines whole where you send lines, so read it with get_invoice and send every line back.
  • update_invoice_details: Saves the owner’s invoice details: who invoices are from, how clients pay, what a new invoice starts with, the numbering and the default template.
  • list_campaigns: The site’s Meta ad account as its Ads screen shows it: each campaign with its ad sets and their ads, whether each runs, what each may spend, and each campaign’s numbers over the last range days.
  • get_campaign: One campaign of the site’s Meta ad account: whether it runs, its fields as update_campaign takes them (amounts in the account’s currency, times in its time zone), its numbers over the last range days, and its ad sets with theirs.
  • get_ad_set: One ad set of the site’s Meta ad account: whether it runs, its campaign, its fields as update_ad_set takes them (who it reaches, where it shows, its budget and schedule), its numbers over the last range days with results counted by its goal, and its ads with theirs.
  • get_ad: One ad of the site’s Meta ad account: whether it runs or what Meta’s review said, its words, picture, link and button as update_ad takes them (fields), where to look at it as a viewer will (previews), and its numbers over the last range days.
  • get_ads_insights: What the ad account, a campaign, an ad set or an ad spent and got over the last range days: its totals, a day at a time, the objects one level down, and, with breakdown, split by age, gender, country or placement.
  • search_ad_locations: Countries, regions, cities and postcodes whose name starts with q, as Meta knows them.
  • estimate_ad_audience: How many of Meta’s users a month an ad set’s targeting would reach, as Meta estimates it: a low and a high figure.
  • create_campaign: Makes a campaign in the site’s Meta ad account, paused: a status other than PAUSED is refused, and nothing spends until set_ads_status switches it on.
  • update_campaign: Changes the fields named of one campaign, as get_campaign says them, and sends Meta only what differs.
  • create_ad_set: Makes an ad set in one of the site’s campaigns, paused: who it reaches, where it shows, its budget and its schedule.
  • update_ad_set: Changes the fields named of one ad set, as get_ad_set says them, and sends Meta only what differs: a change to who it reaches sends the whole targeting.
  • create_ad: Makes an ad in one of the site’s ad sets, paused: a picture the ad account already has (by its hash, or the Disk key of one the owner put in an ad), its words, the page of the site it sends visitors to by its path, and its button.
  • update_ad: Changes the fields named of one ad, as get_ad says them.
  • set_ads_status: Pauses, switches on or deletes a campaign, an ad set or an ad.
  • list_feature_requests: Lists the feature requests this site has filed with the Vizitka team — newest first, each with its status.
  • request_feature: Files a feature request with the Vizitka platform team when the customer asks for a capability the format cannot express.
  • Looks: Four complete stylesheets, each a whole look, ready to start a re-skin from.
  • Behaviours: The attributes a page writes to wire up the platform’s one controller, read off what that controller looks for.
  • JavaScript: The modules every site’s import map already carries, what a site’s own file may be called and which two names load on their own, and the keys of the site’s import map.
  • Field types: What a table’s field may be: the closed set of types a submitted value is checked against, the roles the platform reads a field for, and what a listing may narrow and order rows by.
  • Head fields: What a page’s or a site’s head may be told to say, and where each field may be set.
  • Site files: Where each of a site’s files lives, and what each one is.
  • Worked sites: Whole starting websites, one per starter set: what each is for, the look and languages it wears, its tables, and its pages by the name that reads one.
  • Guides: The prose an agent reads before it writes, by name: what each guide is called and what it is for.
  • The vzk language: The whole of vzk, the language a site is written in, on one short card, with the files of the small site its examples make.
  • Meta Ads: What a site’s Meta ads may say: each objective with where its ads may send people and what Meta may optimise for there, bid strategies, statuses, restricted categories, buttons, pixel events, placements, ages, the EU’s countries and the periods numbers are read over.
  • Workflows: What a workflow may be made of: each trigger and step, the settings it takes and what each one is.
  • Integrations: What an integration may be made of: what its code exports and is given, the manifest’s keys, each trigger, how a call from another service is checked, and what a run is held to.
  • Artifacts: What an artifact may be: where its two files are, its kinds, how its rows are read, who may share it and how many a site keeps.
  • Knowledge: What the organization keeps for its agents: its kinds of document, when a doc is read, what a change of an agent’s waits as, and how much a page and a chat’s start may hold.
  • Creative studio: What an ad creative of the Creative studio may be: its formats, sizes and length, what a frame is on the board, who sees a project, the brief’s questions, the Meta check’s rules and judgments, and how much one make and one project hold.