MCP tools: overview
The AI assistant works on your sites through 24 Sajto tools. You do not need to know them or call them by hand: the assistant chooses them itself, depending on what you ask for. This part of the handbook describes each of them so that you know what is happening and can verify it.
The parameter descriptions in these chapters are checked against the server code, and their completeness is verified automatically on every documentation build. That way the list of tools and parameters always matches what the server offers.
Tools by group
| Group | Tools | What they are for |
|---|---|---|
| Sites | site_create, site_list, site_get, site_update_settings, site_publish, site_validate, site_history, site_diff, site_rollback | Creating a site, settings, validation, publishing, history, rollback |
| Files | file_list, file_read, file_write, file_patch, file_delete, file_move | Reading and editing the files of the working copy |
| Images | asset_upload, asset_fetch, asset_placeholder, asset_favicon | Images, placeholder images and the site icon |
| References | reference_analyze | Analysing a site you take inspiration from |
| Domains | domain_add, domain_list, domain_verify, domain_remove | Connecting custom domains |
Besides the tools, Sajto provides the new_site and review_site commands and helper materials for the assistant. They are described in the chapter Templates and resources.
A typical workflow
- A new site:
site_create(optionally with a template and the addresses of reference sites). - Plan and inspiration:
reference_analyzefor sites you like. - Building:
file_writefor new files,file_patchfor small changes,asset_*for images. - Checking:
site_validateand fixing all errors, then the warnings that matter. - Reviewing changes:
site_diffshows exactly what will be published. - Publishing:
site_publishreturns the address and the version number. - Later changes:
site_getat the start of work on an existing site, and in case of troublesite_historyandsite_rollback.
Working copy and public site
The tools from the Files and Images groups change only the working copy. Visitors see changes only after site_publish (or after a few seconds if you turn on automatic publishing in site_update_settings). More in the chapter Versions and publishing.
Read-only tools
Some tools change nothing and can be called safely: site_list, site_get, site_validate, site_history, site_diff, file_list, file_read and domain_list. In the descriptions they are marked “read-only”.
Call limits
An account can make up to 120 tool calls per minute. When the limit is exceeded, the assistant gets a message with the waiting time and should wait a moment instead of retrying in a loop. All limits are collected in the chapter Limits and plans.

