{"name":"ru.layero/layero","slug":"layero","title":"Layero","description":"Deploy and operate sites on Layero — hosting with build servers in Russia: domains, env, Data API.","url":"https://mcp.market/server/layero","rating":null,"grade":"B","score":79,"certified":false,"status":"active","category":"devtools","tags":["devtools"],"presence":{"score":23,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-09-19T09:29:55.000Z","license":"MIT"},"uptime":{"percent":100,"checks":3,"ok":3,"last_checked_at":"2026-09-20T07:30:48.184Z","last_ok_at":"2026-09-20T07:30:48.184Z","latency_ms":499},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/LayeroInfra/layero-agents","website":"https://docs.layero.ru/agents/","version":"2.4.0","remotes":[{"type":"streamable-http","url":"https://mcp.layero.ru/mcp","headers":[{"description":"Layero token for CI and headless clients, issued at https://app.layero.ru/settings/cli or with `npx layero@latest token create`. Optional: interactive clients sign in through OAuth.","isSecret":true,"placeholder":"Bearer layero_ci_...","name":"Authorization"}]}],"packages":[],"tools":[{"name":"cancel_deploy","description":"Stop a build that is still running.\n\n    The live address does not change — the previous version stays on it.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"deploy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Build id (a UUID from `list_deploys`). Without it the latest build is used.","title":"Deploy"}},"required":["project"],"title":"cancel_deployArguments"}},{"name":"check_copy","description":"Mechanical errors of Russian typography — with the exact place and a\n    replacement.\n\n    This is CODE, not a model's judgement: the same text gives the same list\n    of findings. It catches what the eye misses and the reader feels:\n    non-breaking spaces, dashes, straight quotes, a dot instead of a comma in\n    decimals, spaces around punctuation, double spaces.\n\n    Every finding carries a ready replacement — apply it rather than\n    rewriting the fragment your own way.\n\n    WHAT IS NOT HERE. Plain style, sentence length, officialese, signs of AI\n    slop — that is judgement, and it lives in the `layero://editorial/ru`\n    resource. Read it when asked to \"make the text better\" rather than \"fix\n    the typography\".\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The text to check. Either this or `project` — exactly one of them.","title":"Text"},"project":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Project slug: check the copy of the PUBLISHED page. Handy when editing someone's site, or your own after a publish.","title":"Project"},"path":{"default":"/","description":"Page path when checking a project. Defaults to the home page.","title":"Path","type":"string"}},"title":"check_copyArguments"}},{"name":"check_domain","description":"Check whether a connected domain has started working.\n\n    Runs the DNS check immediately instead of waiting for the background\n    re-check. If the records have not propagated yet, that is normal — say\n    so and suggest coming back later.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"domain":{"description":"The domain without scheme — exactly the one that was connected.","title":"Domain","type":"string"}},"required":["project","domain"],"title":"check_domainArguments"}},{"name":"check_performance","description":"Measure a site's speed and say whether it got worse after a deploy.\n\n    The verdict comes FROM THE SCORE, not from timings: repeated runs of the\n    same deploy vary by at most one point, while LCP and TTFB on identical\n    code swing by 37-40%. A difference of 3 points or more is meaningful;\n    anything smaller is measurement noise, and calling that a regression is\n    inventing a problem.\n\n    A run takes tens of seconds. With `wait=true` the tool waits for you; do\n    not start a second measurement in parallel — it will occupy the queue\n    and add nothing.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"wait":{"default":true,"description":"Wait for the measurement result (tens of seconds) or return at once. `false` — when the user needs the run started, not its result.","title":"Wait","type":"boolean"}},"required":["project"],"title":"check_performanceArguments"}},{"name":"connect_analytics","description":"Connect Yandex Metrika to a site.\n\n    IMPORTANT: authorisation happens IN A BROWSER, and neither you nor the\n    platform can do that step for the user. The tool returns a link — show\n    it and ask them to open it and grant access. Do not poll in a loop: the\n    person may walk away for an hour. Check later through this same tool\n    without the `branch` argument, or through `site_analytics`.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The branch whose traffic is counted. Defaults to the production branch; pass it only when the user asks to track a preview branch.","title":"Branch"}},"required":["project"],"title":"connect_analyticsArguments"}},{"name":"connect_domain","description":"Connect a custom domain to a site.\n\n    IMPORTANT: between this call and a working domain stands A PERSON. You\n    get DNS records — show them to the user and explain they go in at their\n    domain registrar. Do not wait for readiness: DNS propagates in minutes\n    to an hour, the platform re-checks on its own, and you check later via\n    `check_domain`. Spinning here burns time and context for nothing.\n\n    The address can be passed as-is: the platform reduces\n    `https://shop.example.com/page` to `shop.example.com` itself.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"domain":{"description":"The domain without scheme or slash: `example.ru` or `www.example.ru`.","title":"Domain","type":"string"}},"required":["project","domain"],"title":"connect_domainArguments"}},{"name":"data_api_grant","description":"Who may call a method of a table or a function: shows the SQL and\n    applies it after consent.\n\n    OPENS DATA TO THE INTERNET. Call it without `apply` first: the platform\n    returns the commands and warnings (for example \"row-level security is\n    off — a visitor will get every row\"). Show them to the person. With\n    apply=true a client with forms asks the person itself; without forms get\n    consent in the chat and pass confirmed=true together with expected_sql\n    from the preview.\n\n    Methods you do not name keep their current level. Exactly the shown\n    commands are applied: if the grants changed meanwhile, the platform\n    refuses — show the new ones. Needs a token with the admin scope, for the\n    preview too.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"object":{"description":"A table `schema.name` or a function `schema.name`; for an overloaded function — `schema.name(types)`. As listed by data_api_methods.","title":"Object","type":"string"},"get":{"anyOf":[{"enum":["closed","visitor","user","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Reading the table. closed — nobody; visitor — any site visitor; user — people signed in to the app; server — only a server holding the secret key.","title":"Get"},"post":{"anyOf":[{"enum":["closed","visitor","user","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Inserting rows into the table. Same levels as `get`.","title":"Post"},"patch":{"anyOf":[{"enum":["closed","visitor","user","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Updating rows of the table. Same levels as `get`.","title":"Patch"},"delete":{"anyOf":[{"enum":["closed","visitor","user","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Deleting rows of the table. Same levels as `get`.","title":"Delete"},"call":{"anyOf":[{"enum":["closed","visitor","user","server"],"type":"string"},{"type":"null"}],"default":null,"description":"Calling the function. closed — nobody; visitor — any site visitor; user — people signed in to the app; server — only a server holding the secret key.","title":"Call"},"apply":{"default":false,"description":"false (default) — only show the commands. true — apply them after the person's consent.","title":"Apply","type":"boolean"},"confirmed":{"default":false,"description":"true — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.","title":"Confirmed","type":"boolean"},"expected_sql":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"The `sql` commands from the preview answer that the person saw. Required with confirmed=true: only these are applied.","title":"Expected Sql"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The database: name, slug or id. Without it — the organization's only database with the Data API enabled.","title":"Database"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the only one, or the personal one.","title":"Organization"}},"required":["object"],"title":"data_api_grantArguments"}},{"name":"data_api_keys","description":"The database's Data API keys: list, issue, revoke.\n\n    The list never contains key values. Issuing and revoking need the\n    person's consent: a client with forms asks by itself; without forms ask\n    in the chat and pass confirmed=true. The value of an issued key is\n    returned once: the platform does not store secret keys. Hand it to the\n    person for their server and do not repeat it afterwards.\n\n    Revoking breaks everyone who uses the key — including the site, if the\n    key is baked into its build (`in_build`). Issuing and revoking need a\n    token with the admin scope.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"action":{"default":"list","description":"`list` — keys with prefixes, no values; `issue` — issue a key, its value is returned ONCE; `revoke` — revoke the key named in `key`.","enum":["list","issue","revoke"],"title":"Action","type":"string"},"kind":{"default":"public","description":"For issue: public — for the site (lives in the browser), secret — for a server only.","enum":["public","secret"],"title":"Kind","type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For issue: a label to recognise the key by in the list.","title":"Label"},"expires_in_days":{"anyOf":[{"enum":[30,90,365],"type":"integer"},{"type":"null"}],"default":null,"description":"For issue: lifetime in days; without it the key never expires.","title":"Expires In Days"},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For revoke: id or prefix of the key from the list.","title":"Key"},"confirmed":{"default":false,"description":"true — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.","title":"Confirmed","type":"boolean"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The database: name, slug or id. Without it — the organization's only database with the Data API enabled.","title":"Database"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the only one, or the personal one.","title":"Organization"}},"title":"data_api_keysArguments"}},{"name":"data_api_methods","description":"The database's REST and RPC methods with an access level per HTTP method.\n\n    The level says who may call the method: closed, visitor (any site\n    visitor), user (signed-in people), server (the server only). It is read\n    from the role grants in force in the database itself — exactly as the\n    gateway sees them.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The database: name, slug or id. Without it — the organization's only database with the Data API enabled.","title":"Database"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the only one, or the personal one.","title":"Organization"}},"title":"data_api_methodsArguments"}},{"name":"data_api_origins","description":"Sites allowed to call the database from a browser: list, add, remove.\n\n    Addresses of the connected projects and their branches are allowed\n    automatically — do not add them. An added site opens no data by itself:\n    what can be read and written is decided by access levels. Adding and\n    removing need the person's consent; a removed site is refused on every\n    request. Needs a token with the admin scope.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"action":{"default":"list","description":"`list` — addresses of the database's projects and the manually added ones; `add` — allow a site; `remove` — remove a site.","enum":["list","add","remove"],"title":"Action","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For add and remove: the site origin with scheme, `https://shop.example`.","title":"Url"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For add: why the site was added.","title":"Note"},"confirmed":{"default":false,"description":"true — the person has already agreed in the chat after seeing what will change. A client with forms does not need it: the server asks the person itself. Never set it without the person's explicit consent.","title":"Confirmed","type":"boolean"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The database: name, slug or id. Without it — the organization's only database with the Data API enabled.","title":"Database"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the only one, or the personal one.","title":"Organization"}},"title":"data_api_originsArguments"}},{"name":"data_api_probe","description":"A real request to a method through the gateway — as a visitor, a user\n    or the server.\n\n    The platform supplies the key and the token. Writes (POST, PATCH, DELETE,\n    a function call) are rolled back: rows in the database do not change,\n    but the rollback does not undo sequence numbers, calls from the database\n    to the outside, session locks or the daily call quota. The answer is\n    real: grants, row policies and refusals are the same the site will see.\n    Needs a token with the admin scope.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"method":{"description":"HTTP method.","enum":["GET","POST","PATCH","DELETE"],"title":"Method","type":"string"},"path":{"description":"Path from the database address: `/rest/v1/products`, `/rest/v1/rpc/order_create` or `/whoami` (GET only).","title":"Path","type":"string"},"role":{"default":"visitor","description":"On whose behalf: visitor — a visitor with the public key, user — a signed-in user (needs user_id), server — the secret key.","enum":["visitor","user","server"],"title":"Role","type":"string"},"query":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"default":null,"description":"Query parameters, PostgREST style: {\"select\": \"id,title\", \"price\": \"gt.100\"}.","title":"Query"},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"default":null,"description":"Body for POST and PATCH.","title":"Body"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"For role=user: id of the app user.","title":"User Id"},"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The table's schema: api, public or app. Without it the name is looked up in the order api → public → app — pass it when tables with the same name exist in several schemas. Not needed for functions and /whoami.","title":"Schema"},"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The database: name, slug or id. Without it — the organization's only database with the Data API enabled.","title":"Database"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the only one, or the personal one.","title":"Organization"}},"required":["method","path"],"title":"data_api_probeArguments"}},{"name":"data_api_status","description":"Whether the database has the Data API enabled, its address, keys and\n    the sites allowed to call it.\n\n    Keys are shown as prefixes only: the platform never returns values and\n    does not store secret ones. The API cannot be enabled with a tool:\n    enabling gives the database a public address, and that is the person's\n    decision in the dashboard.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"database":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The database: name, slug or id. Without it — the organization's only database with the Data API enabled.","title":"Database"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the only one, or the personal one.","title":"Organization"}},"title":"data_api_statusArguments"}},{"name":"deploy_logs","description":"Raw log lines — for when the `diagnose_deploy` analysis was not enough.\n\n    Start with `diagnose_deploy`: it has already pulled out the cause and\n    the neighbourhood of the fatal line. Come here when you need to look\n    with your own eyes — the cause is vague, or you are interested in how\n    the app behaves rather than in a failure.\n\n    You get the TAIL. `truncated` says earlier lines were dropped; do not\n    present the tail as the whole log. For build logs, package-manager\n    network chatter is hidden BEFORE the tail is cut, so the tail holds\n    meaningful lines; `noise_hidden` says how many were hidden and\n    `include_noise=true` shows them.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"kind":{"default":"build","description":"`build` — what the build printed. `runtime` — what the app itself prints (apps only, not static sites).","enum":["build","runtime"],"title":"Kind","type":"string"},"deploy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Build id (a UUID from `list_deploys`). Without it the latest build is used.","title":"Deploy"},"tail":{"default":100,"description":"How many of the last lines to return, at most 200.","title":"Tail","type":"integer"},"include_noise":{"default":false,"description":"Build logs only. By default the package manager's network chatter (`npm http fetch …`, `npm http cache …`, `npm timing/sill/verb …` — one line per downloaded package, often three quarters of the log) is hidden and counted in `noise_hidden`. `true` returns the log as is — for registry or network problems.","title":"Include Noise","type":"boolean"}},"required":["project"],"title":"deploy_logsArguments"}},{"name":"diagnose_deploy","description":"Why a deploy failed — with the cause parsed out, not a raw log.\n\n    Without `deploy` the latest build is used; that is what reflects the\n    current state. To examine a specific older one, pass its id.\n\n    The response is not a log tail but the neighbourhood of the fatal line:\n    the platform has already picked out what matters. Read `verdict` and the\n    summary, fix the code, deploy again — you close this loop yourself,\n    without involving the person.\n\n    `build_facts` — how it was built: `project_type`, `framework`,\n    `node_version`, `package_manager`, `install`, `build`, `output` (each\n    with its origin in parentheses: default, auto-detected, layero.json,\n    dashboard …), `source` (`git` / `cli`), `root_directory`, `queued_s`,\n    `duration_s`. Apps built into a container (`node_web`, `python_web`,\n    `ssr_next`, full-stack) also get `runtime_kind`, `start` (the start\n    command), `port`, `env` and, for full-stack, `fullstack` /\n    `fullstack_frontend`. A value marked `(as built)` is the platform's\n    record of this very build; `(current settings: …)` is what the project\n    settings resolve to now, not a fact about this build. A missing key\n    means the platform did not report that fact — on a failed build often\n    because it did not get that far, on a `ready` build it just is not\n    recorded (static builds print more than container builds); it is not a\n    sign of a problem. `sources_note` appears when a value is marked\n    `(from dashboard)` / `(from hint)`: that is «saved in the project\n    settings», by a person or by import-time detection — the platform does\n    not record which. `candidate_app_dirs` is filled when the builder found\n    several app folders in a monorepo and needs a `root_directory`.\n\n    Three log excerpts, all untrusted: `build_log_excerpt` — the build\n    itself; `launch_log_excerpt` — the platform's lines about starting the\n    app after the build (container launch, readiness probe, wake-ups), empty\n    for static sites; `runtime_log_excerpt` — what the app printed.\n\n    `next_action` is the instruction for you. `next_actions` is a separate,\n    machine-readable list of platform codes, possibly empty: `wait`,\n    `poll_status`, `fix_config`, `fix_code`, `fix_runtime`, `check_env`,\n    `inspect_logs`, `retry_deploy`, `runtime_idle` (the app is scaled to\n    zero — normal, it wakes on the next request).\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"deploy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"id of a specific build (a UUID from `list_deploys`). Without it the latest build is used — the one that reflects the project's current state.","title":"Deploy"}},"required":["project"],"title":"diagnose_deployArguments"}},{"name":"env_vars","description":"Project environment variables: list names, set them, remove them.\n\n    VALUES ARE NEVER READ BACK — not by you, not by the platform in its\n    response. Only names and lengths are returned. This is a deliberate rule\n    rather than an implementation limit: anything that reaches your answer\n    settles into the conversation history, and a secret that lands there\n    cannot be taken back. If the user asks \"what is my key\", say plainly\n    that you cannot show it and offer to set a new one.\n\n    `set` does not require knowing the other variables — the platform keeps\n    them. `unset` removes only the named ones.\n\n    A change needs a new deploy: variables are picked up at build time, not\n    on the fly. Say so, or the user will think nothing happened.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"action":{"default":"list","description":"`list` — show the names (values are never returned), `set` — set the variables from `values`, `unset` — remove the variables listed in `keys`.","enum":["list","set","unset"],"title":"Action","type":"string"},"values":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"default":null,"description":"For `action=\"set\"`: name → value pairs. The project's other variables are kept — no need to send them again.","title":"Values"},"keys":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"For `action=\"unset\"`: names of the variables to remove.","title":"Keys"}},"required":["project"],"title":"env_varsArguments"}},{"name":"import_repo","description":"Create a Layero project from a repository — path (a) without the\n    dashboard. From then on a push to the branch is a preview, a push to the\n    production branch is production.\n\n    After the link the tool finishes the setup wizard itself and starts the\n    first build; `setup` in the result says whether that happened. Detected\n    values are NOT written into the project settings: the builder detects\n    the framework, build command and output folder from the repository on\n    every build, so a later change in the repository is picked up. Only a\n    decision is pinned — the app folder of a monorepo and the package\n    manager named in `layero.json`. Until 2.1.1 the project stayed in\n    `pending_setup` while the answer promised a build that never started.\n\n    Two shapes, same as the CLI: GitHub goes through the App installation\n    (project and webhook in one call); other providers create the project\n    first and then connect the source — that step reports whether the\n    webhook could be registered. If the provider is not connected, the result\n    says `needs_connection` with the dashboard address: the person connects\n    the token there, never through the chat.\n\n    Monorepo: one project builds one app folder — pass `root_directory`.\n    Several apps in one repository are several projects, one call each, with\n    different `root_directory` and `name`. If the repository is already\n    linked and the call would duplicate an existing project (same folder, or\n    no `root_directory` given), nothing is created: the result is\n    `already_linked` with `linked_projects` — slug, url, root_directory and\n    branch of every project built from this repository. On `created`,\n    `linked_projects` lists the OTHER projects already built from the same\n    repository; `linked_projects_checked: true` says the check was made, so\n    an empty list means there are none (`my_projects(repo=…)` answers the\n    same question later). When the root has no\n    app and detection sees a frontend + backend pair, `app_dir_candidates`\n    names the folders.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"provider":{"description":"Provider: github, gitverse, gitlab, gitflic or sourcecraft.","title":"Provider","type":"string"},"repo":{"description":"Repository path at the provider: `owner/repo`; GitLab paths may be nested (`group/sub/project`). The form `gitverse:owner/repo` is accepted too.","title":"Repo","type":"string"},"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Production branch. Defaults to the repository's default branch.","title":"Branch"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Project name; the slug and the address are derived from it. Defaults to the repository name — for a second app from the same monorepo give a distinct name.","title":"Name"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the account's only organization, or the personal one; if there are several and none is personal, the tool lists the slugs.","title":"Organization"},"deploy":{"default":true,"description":"Finish the setup wizard and start the first build right away. The framework, build command and output folder are not pinned: the builder detects them from the repository on every build (`layero.json` overrides). `false` leaves the project in the setup wizard: no builds until the person completes the setup in the dashboard.","title":"Deploy","type":"boolean"},"root_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Monorepo: the app folder inside the repository, relative to its root — `apps/web`, `frontend`. Omit it for an app in the repository root (if the root has no app and exactly one subfolder does, that folder is picked automatically). A repository already linked to a project can be imported again ONLY with a `root_directory` that no linked project uses.","title":"Root Directory"}},"required":["provider","repo"],"title":"import_repoArguments"}},{"name":"list_deploys","description":"The project's latest builds: how each one ended, how long it took and\n    which one is live now.\n\n    Use it to pick a target for `rollback` or `diagnose_deploy`. For \"what is\n    up with the site right now\" `site_status` is enough and cheaper.\n\n    Per build: `branch`, `source` (`git` — built on push, `cli` — an uploaded\n    folder), short `commit`, `created_at` / `started_at` / `finished_at`\n    (UTC), `queued_s` (wait in the queue) and `duration_s` (build time, null\n    while it is still running), `failure_stage` for failed ones, `is_active`\n    — the build now served on the canonical address.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"limit":{"default":10,"description":"How many of the latest builds to return. Default 10, at most 50.","title":"Limit","type":"integer"}},"required":["project"],"title":"list_deploysArguments"}},{"name":"list_domains","description":"The project's own domains and their state.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"}},"required":["project"],"title":"list_domainsArguments"}},{"name":"list_environments","description":"The project's environments — one per branch (or the single `cli` one),\n    each with its address and the state of its latest build.\n\n    Answers \"where is the preview of my branch\" and \"what is on production\n    now\". `url` is the environment's own address (its host ends with\n    `-<branch>`); the production branch is ALSO served at the project's\n    canonical address from `site_status` / `my_projects`. Take addresses\n    from here, never assemble them.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"}},"required":["project"],"title":"list_environmentsArguments"}},{"name":"list_sources","description":"Which git providers Layero supports and which of them the organization\n    has connected (GitHub App installations and provider tokens).\n\n    Call before `import_repo` when you are not sure the provider is\n    connected. Connecting a provider token is done by the person in the\n    dashboard — never ask them to paste the token into the chat.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the account's only organization, or the personal one; if there are several and none is personal, the tool lists the slugs.","title":"Organization"}},"title":"list_sourcesArguments"}},{"name":"my_projects","description":"The user's sites on Layero.\n\n    Thirty most recent by default. The full list is rarely needed, while\n    flooding half your context with it is easy: an active user has dozens\n    of projects.\n\n    `url` is the canonical (production) address. `repo`, `branch` and\n    `root_directory` say where the project is built from: all three are\n    null for a project without a repository (CLI or `publish_site`);\n    `root_directory` is the app folder inside a monorepo, null for the\n    repository root.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"limit":{"default":30,"description":"How many of the most recent projects to return. The default of 30 is almost always enough; raise it (up to 100) only when the user is looking for an old site that is not in the list.","title":"Limit","type":"integer"},"repo":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only projects built from this repository: `owner/repo` (case-insensitive; a full repository URL works too). Use it to see whether a repository is already linked and from which folders. `limit` applies after the filter.","title":"Repo"}},"title":"my_projectsArguments"}},{"name":"project_create","description":"Create an empty project with no repository — an address reserved for a\n    later `publish_site` or `npx layero@latest deploy`.\n\n    For a project FROM a repository use `import_repo` instead. Nothing is\n    built or served yet: the address answers only after the first publish.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"description":"Project name; the slug — the first label of `<slug>.layero.app` — is derived from it.","title":"Name","type":"string"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Organization slug. Without it — the account's only organization, or the personal one; if there are several and none is personal, the tool lists the slugs.","title":"Organization"}},"required":["name"],"title":"project_createArguments"}},{"name":"project_settings","description":"Build settings of a project: read them, or change them without the\n    dashboard — the way out when detection guessed wrong (wrong folder,\n    wrong type, wrong command).\n\n    `get` returns `settings` (what is saved on the project; null — not set,\n    the platform decides), `resolved` (what the next build will actually use,\n    per field: `value`, `source`, `policy`) and `last_build` (what the latest\n    ready build was really built with). Precedence is `layero.json` in the\n    repository > project settings > detection > framework default: a field\n    with `policy: \"locked_by_file\"` is set by `layero.json`, and changing the\n    project setting will not change the build — edit the file instead.\n\n    `update` CHANGES HOW THE PROJECT IS BUILT — ask the person first unless\n    they asked for exactly this change. Prefer `layero.json` in the repository\n    for anything that should live with the code; use this tool for what the\n    file cannot hold (`root_directory`, `project_type`) and for projects you\n    cannot push to. Nothing is rebuilt by the update itself: apply it with\n    `retry_deploy(redeploy=true)` or a push.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"action":{"default":"get","description":"`get` — show the build settings and what they resolve to. `update` — change the settings passed in the other arguments; arguments you omit stay as they are.","enum":["get","update"],"title":"Action","type":"string"},"root_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"App folder inside the repository (`apps/web`). `\"\"` resets to the repository root. Changing it clears the detected framework and commands of the old folder.","title":"Root Directory"},"project_type":{"anyOf":[{"enum":["spa","ssr_next","node_web","python_web","streamlit","gradio","flask"],"type":"string"},{"type":"null"}],"default":null,"description":"How the project runs: `spa` — static files (any static framework); the others — an app in a container. The platform checks the repository and may object (409): then re-read the objection and pass `force_type=true` only if the person insists.","title":"Project Type"},"force_type":{"default":false,"description":"Set `project_type` even though the platform detected another type.","title":"Force Type","type":"boolean"},"framework":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Framework preset for a static build: `vite`, `nextjs`, `astro`, `generic`, `static` …","title":"Framework"},"install_command":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Install command. `\"\"` resets to auto-detection by lockfile.","title":"Install Command"},"build_command":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Build command, whole: `npm run build`.","title":"Build Command"},"output_directory":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Folder that holds `index.html` AFTER the build (`dist`, `build`, `dist/client`).","title":"Output Directory"},"start_command":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Container apps: start command, listening on `0.0.0.0` and `$PORT`. `\"\"` resets to detection by entry point.","title":"Start Command"},"port":{"anyOf":[{"maximum":65535,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Container apps: the port the app listens on. `0` resets to the default.","title":"Port"},"node_version":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Node major, e.g. `22`. `\"\"` resets to auto-detection.","title":"Node Version"},"package_manager":{"anyOf":[{"enum":["npm","yarn","pnpm","bun"],"type":"string"},{"type":"null"}],"default":null,"description":"Package manager override.","title":"Package Manager"}},"required":["project"],"title":"project_settingsArguments"}},{"name":"publish_landing","description":"DEPRECATED — use `publish_site`. Same behaviour, same arguments.\n\n    Kept for one release (removed in the next) so that configs and prompts\n    written before 17.09.2026 keep working; new instructions must call\n    `publish_site`.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"files":{"description":"Same as in `publish_site`: the site files with `index.html` in the root.","items":{"$ref":"#/$defs/FilePayload"},"title":"Files","type":"array"},"project_name":{"description":"Same as in `publish_site`: the project slug.","title":"Project Name","type":"string"},"project":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Same as in `publish_site`: id of an existing project.","title":"Project"}},"required":["files","project_name"],"$defs":{"FilePayload":{"properties":{"path":{"title":"Path","type":"string"},"content":{"title":"Content","type":"string"},"encoding":{"default":"text","description":"Use `base64` for binary files — images, fonts, favicons. Text files (html/css/js/svg) stay `text`. A binary sent as text is silently corrupted.","enum":["text","base64"],"title":"Encoding","type":"string"}},"required":["path","content"],"title":"FilePayload","type":"object"}},"title":"publish_landingArguments"}},{"name":"publish_site","description":"Publish a static site to Layero — from here, with no terminal.\n\n    Takes ANY ready static bundle, so it is the answer to \"deploy my site\" when\n    the project has no connected repository. Requirements — `index.html` at\n    the root, at most 200 files, 8 MB in total, 2 MB per file. Binary files\n    (images, fonts) must come with `encoding=\"base64\"`; sent as text they are\n    silently corrupted.\n\n    Do NOT use it for a project with a connected repository (`site_status`\n    shows one): the next git push would overwrite what you published.\n\n    Publishing without a Layero account is not possible from here — the\n    server requires sign-in. For that case there is the CLI:\n    `npx layero@latest deploy --claim` deploys first and lets the person\n    claim the site later. An empty project for a future publish is created\n    with `project_create`.\n\n    A project that still needs a build step (Vite, Next, Astro — anything\n    where the answer is `npm run build`) does NOT go here: publish its build\n    output, or tell the user to run `npx layero@latest deploy`, which builds\n    on our side.\n\n    Send the ACTUAL file contents: the server does not remember the bundle\n    between calls. If the user edited the text after generation, pass the\n    current versions, or what gets published is what used to be there.\n\n    Pass `project` (the id of an existing project) when republishing the\n    same site; without it the platform finds a project with that name or\n    creates a new one.\n\n    Returns as soon as the build finishes, or after ~40s with `status`\n    `building` and the `deploy_id` — the build keeps going on its own. Never\n    call this tool a second time to \"retry\" a build that is still running:\n    that starts a SECOND build. Follow `next_action`.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"files":{"description":"The whole site, with `index.html` in the root. Paths are relative (`assets/app.css`). Binary files go with `encoding=\"base64\"`. At most 200 files, 8 MB in total, 2 MB per file.","items":{"$ref":"#/$defs/FilePayload"},"title":"Files","type":"array"},"project_name":{"description":"Project slug — lowercase Latin letters, digits and hyphens. It becomes part of the site address. If the project already exists, pass `project` as well, otherwise the platform creates a new one.","title":"Project Name","type":"string"},"project":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"id of an existing project — to publish the same site again. Without it the platform looks the project up by name or creates a new one.","title":"Project"}},"required":["files","project_name"],"$defs":{"FilePayload":{"properties":{"path":{"title":"Path","type":"string"},"content":{"title":"Content","type":"string"},"encoding":{"default":"text","description":"Use `base64` for binary files — images, fonts, favicons. Text files (html/css/js/svg) stay `text`. A binary sent as text is silently corrupted.","enum":["text","base64"],"title":"Encoding","type":"string"}},"required":["path","content"],"title":"FilePayload","type":"object"}},"title":"publish_siteArguments"}},{"name":"read_site","description":"What is really published: headings, copy, forms, meta, links.\n\n    Call it BEFORE changing anything on a live site and AFTER a publish, to\n    make sure the expected version arrived. Without it you edit blind: what\n    lies on the user's disk and what visitors are served are different\n    things, and they drift apart silently.\n\n    The result is a STRUCTURE, not raw HTML: a page with inline styles would\n    eat half your context, while what you need from it is headings, copy,\n    forms and meta. The full source is on the user's disk.\n\n    `served_fallback=true` means this path was answered with the home page:\n    there is no page at this address, and the storage answered the missing\n    key with its `index.html` and a 200. Do not take that for success.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"path":{"default":"/","description":"Page path from the site root: `/`, `/about`, `/blog/post`. A page, not a file — the tool refuses files.","title":"Path","type":"string"}},"required":["project"],"title":"read_siteArguments"}},{"name":"refactor_site","description":"One named markup transformation — with a predictable result.\n\n    The tool PUBLISHES NOTHING. It returns the changed HTML; showing it to\n    the person, getting consent and calling `publish_site` is your job.\n    Never rewrite someone's site silently.\n\n    Transformations are idempotent: a repeated call changes nothing and\n    honestly answers `changed=false`. An empty list of changes is not an\n    error, it means \"there was nothing to apply\".\n\n    ⚠️ WHAT IS NOT HERE AND WHY. Fonts from third-party hosts, re-encoding\n    images to webp and untangling inline styles are NOT included: they need\n    the files themselves, which the server does not have, or a judgement\n    about the intended look. `site_issues` names those problems — with a\n    location and an explanation; whoever holds the files fixes them.\n\n    The gain is measured with `check_performance` BEFORE and AFTER the\n    publish. A difference under three points is measurement noise, not an\n    improvement — say so.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"html":{"description":"The contents of `index.html` — the file on the user's disk. Read the file yourself and pass it here.","title":"Html","type":"string"},"fix":{"description":"`meta` — fill in lang and Open Graph markup from what the page already says. `lazy_images` — defer loading of images below the first screen (the first image is left alone: LCP is measured on it).","enum":["meta","lazy_images"],"title":"Fix","type":"string"}},"required":["html","fix"],"title":"refactor_siteArguments"}},{"name":"retry_deploy","description":"Run a build again — a failed one as is, or the latest commit afresh.\n\n    Default (`redeploy=false`): queue the SAME build again. Allowed only for\n    builds in the `failed` or `cancelled` state. On a running build\n    (`queued`, `building`) the platform refuses — that is not an error but\n    protection against a second parallel build; on a `ready` build it\n    refuses too — use `redeploy=true`.\n\n    `redeploy=true`: start a NEW build of the branch's latest commit without\n    a push. This is how changed project settings (`project_settings`) or\n    environment variables (`env_vars`) get applied. The result goes live the\n    same way a push to that branch would — on the production branch that is\n    production, so make sure the person wants that. Projects without a\n    repository are rebuilt by deploying the folder again\n    (`npx layero@latest deploy` or `publish_site`).\n\n    ⚠️ A plain retry makes sense when the cause was external (network,\n    registry, timeout). If the build failed on the code, a retry gives the\n    same result: `diagnose_deploy` first, then the fix, and only then a retry.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"deploy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Build id (a UUID from `list_deploys`). Without it the latest build is used. Ignored with `redeploy=true`.","title":"Deploy"},"redeploy":{"default":false,"description":"`true` — build the latest commit of the branch again as a NEW build, whatever state the previous one is in (also `ready`). Same as the «Пересобрать» button in the dashboard. Use it after changing project settings or environment variables, when there is nothing to push. Repository projects only.","title":"Redeploy","type":"boolean"},"branch":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Only with `redeploy=true`: the branch to build. Defaults to the production branch.","title":"Branch"}},"required":["project"],"title":"retry_deployArguments"}},{"name":"rollback","description":"Put the previous working build back on the live address.\n\n    CHANGES WHAT VISITORS SEE — ask the person before calling unless they\n    asked for a rollback explicitly. The action is reversible (you can roll\n    forward again), but the time visitors spent on the wrong version cannot\n    be taken back.\n\n    ⚠️ For apps (`ssr_next`, `node_web`, `python_web`, `streamlit`, `gradio`,\n    `flask`) a rollback works differently from static sites and is often\n    impossible: an app has no ready artifact to simply switch to. If the\n    platform refuses, explain that to the person plainly and suggest\n    rebuilding the earlier commit — do not repeat the call.\n    ","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"deploy":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"id of the build to roll back to. Without it the platform takes the nearest suitable earlier one.","title":"Deploy"}},"required":["project"],"title":"rollbackArguments"}},{"name":"search_docs","description":"Search docs.layero.ru — no token needed.\n\n    Use it before guessing how the platform works: build settings and\n    `layero.json`, environments and preview URLs, custom domains, env vars,\n    runtime apps, Data API, CLI flags and JSON events. Returns the page\n    title, a direct URL (with anchor) and a snippet; open the URL with your\n    own fetch tool when the snippet is not enough. `score` is relative\n    within one answer: a rare query word found in a page title weighs most,\n    and a page matching every word ranks above one repeating a single word.\n\n    The index is the site's own search index, refreshed hourly.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"description":"What to look for, in words: «environment variables», «layero.json node version», «rollback», «monorepo root directory». The docs are in Russian; both Russian and English queries work — common English platform terms are matched to their Russian counterparts.","title":"Query","type":"string"},"limit":{"default":5,"description":"How many results to return, 1–20.","maximum":20,"minimum":1,"title":"Limit","type":"integer"}},"required":["query"],"title":"search_docsArguments"}},{"name":"site_analytics","description":"Site traffic: totals, direction and top sources.\n\n    The time series is collapsed into a direction and breakdowns are cut to\n    five: ninety chart points are useless in your context, and the\n    conclusion is yours to draw anyway.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"period":{"default":"7d","description":"Observation window: 7, 30 or 90 days.","enum":["7d","30d","90d"],"title":"Period","type":"string"}},"required":["project"],"title":"site_analyticsArguments"}},{"name":"site_issues","description":"Concrete problems of a page — each with its location and what to do.\n\n    This is NOT a score. The score comes from `check_performance`, and a\n    score gives nothing to fix: \"73 out of 100\" does not say what to change.\n    Here is only what has a location and a clear action: blocked indexing,\n    resources from foreign hosts, raster images without webp, missing meta\n    and alt, forms with no recipient.\n\n    Findings are sorted by importance. Do not dump the list — name the two\n    or three main ones and ask whether to fix them.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"path":{"default":"/","description":"Page path from the site root. Defaults to the home page.","title":"Path","type":"string"}},"required":["project"],"title":"site_issuesArguments"}},{"name":"site_screenshot","description":"A screenshot of the latest built version of the site — how it looks.\n\n    Complements `read_site` (what is on the page) and `site_issues` (what is\n    wrong with it) with the third question: how it looks. Useful before and\n    after a visual change.\n\n    ⚠️ The screenshot is taken at BUILD time, not now. Right after a publish\n    a fresh one does not appear instantly — do not present the previous one\n    as the result of your change.\n\n    An image costs far more context than text. Do not call it \"just in\n    case\": for \"what is wrong with the site\" `site_issues` is cheaper and\n    more specific.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"}},"required":["project"],"title":"site_screenshotArguments"}},{"name":"site_status","description":"How a site is doing: where it is built from, whether the address is\n    answering, and how the latest build ended.\n\n    One call instead of three (project, deploys, live check of the address).\n    `source` / `repo` / `branch` / `root_directory` say where the project is\n    built from — a connected repository means deploys go through git.\n\n    `serving` is true when the SITE ITSELF answered — any response that is\n    not a Layero platform screen and not a 5xx. An API server that has no\n    `/` route answers with its own 404: that is a running app, not a broken\n    site — check a real route with `path`. `answered_by` tells who replied:\n    `site`, `platform` (a Layero screen, named in `platform_screen`:\n    `unavailable`, `coming-soon`, `starting`, `not-found`, `suspended`) or\n    `none` (no response). Redirects are not followed: `redirect_to` shows\n    the target.\n\n    Waiting for a build: while the latest build is running the answer carries\n    `poll_after_s` — call again after that many seconds. Or pass `wait_s` and\n    the server waits for the build itself (mind your client's tool-call\n    timeout, see the argument). `waited_s` says how long the call waited.\n\n    Static sites: `served_fallback: true` means the requested `path` was\n    answered with the HOME page (a missing file is replaced by `index.html`\n    with code 200) — the address answers, but this page does not exist.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"project":{"description":"The project: its slug (`my-site`) or id, as listed by `my_projects`. The site address works too (`https://clear-garden-vypm.layero.app` or just `clear-garden-vypm`) — note that the address host is NOT always the slug.","title":"Project","type":"string"},"path":{"default":"/","description":"Path to check on the site, from its root. Default `/`. For an API server with no `/` route pass a route that exists, e.g. `/api/health` or `/healthz`.","title":"Path","type":"string"},"wait_s":{"default":0,"description":"Wait for a running build: if the latest build is queued/building, the call holds until it finishes or `wait_s` seconds pass, then answers as usual. Default 0 — answer at once. At most 120. 🚨 Your client has its own tool-call timeout, often 60 s (Cursor, Codex): stay under it — 45 is safe everywhere — or the call is cut on your side while the build carries on. Still building afterwards → call again.","title":"Wait S","type":"integer"}},"required":["project"],"title":"site_statusArguments"}},{"name":"whoami","description":"Who is connected to Layero and how many projects they have.\n\n    Call this first when you are unsure the token is configured: a clear\n    error here is cheaper than one halfway through a deploy.\n    ","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"title":"whoamiArguments"}}],"scan":{"score":79,"grade":"B","scanned_at":"2026-09-19T19:25:40.152Z","report":{"scannerVersion":"0.1.5","scannedAt":"2026-09-19T19:25:40.053Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":17,"max":20,"notes":["remote reachable in 4305ms"]},"poisoning":{"score":13,"max":15,"notes":["35 tool descriptions checked"]},"auth":{"score":8,"max":15,"notes":["API key sent as a header"]},"maintenance":{"score":15,"max":15,"notes":["last push 0 days ago"]},"identity":{"score":6,"max":10,"notes":["namespace and repository owner differ","website matches verified namespace"]}},"findings":[{"id":"poison.long-description","severity":"low","component":"poisoning","title":"Unusually long tool description (over 2,000 characters)","evidence":"tool import_repo: …Create a Layero project from a repository — path (a) without the dashboard. From then on a push to the branch is a preview, a push to the production branch is production. After the link the tool finishes the setup wizard itself and starts the first build; `setup` in the result says whether that happened. Detected values are NOT written into the project settings: the builder detects the framework, build command and output folder from the repository on every build, so a later change in the repository is picked up. Only a decision is pinned — the app folder of a monorepo and the package manager named in `layero.json`. Until 2.1.1 the project stayed in `pending_setup` while the answer promised a build that never started. Two shapes, same as the CLI: GitHub goes through the App installation (project and webhook in one call); other providers create the project first and then connect the source — that step reports whether the webhook could be registered. If the provider is not connected, the result says `needs_connection` with the dashboard address: the person connects the token there, never through the chat. Monorepo: one project builds one app folder — pass `root_directory`. Several apps in one repository are several projects, one call each, with different `root_directory` and `name`. If the repository is already linked and the call would duplicate an existing project (same folder, or no `root_directory` given), nothing is created: the result is `already_linked` with `linked_projects` — slug, url, root_directory and branch of every project built from this repository. On `created`, `linked_projects` lists the OTHER projects already built from the same repository; `linked_projects_checked: true` says the check was made, so an empty list means there are none (`my_projects(repo=…)` answers the same question later). When the root has no app and detection sees a frontend + backend pair, `app_dir_candidates` names the folders. …"}],"inputs":{"probes":[{"url":"https://mcp.layero.ru/mcp","reachable":true,"authRequired":false,"latencyMs":4305,"serverInfo":{"name":"layero","version":"2.4.0"}}],"packages":[],"repo":{"found":true,"owner":"LayeroInfra","repo":"layero-agents","archived":false,"pushedAt":"2026-09-19T09:29:55Z","stars":0,"forks":0,"openIssues":0,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/281166961?v=4","ownerCreatedAt":"2026-05-02T12:06:38Z","license":"MIT"},"icon":{"url":"https://docs.layero.ru/favicon.ico","source":"registry","width":48,"height":48},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":"MIT","lastPushAt":"2026-09-19T09:29:55.000Z","score":23}}}},"grade_history":[{"kind":"downgrade","fromGrade":"A","toGrade":"B","reason":"score 75","createdAt":"2026-09-18T04:51:39.192Z"}],"reviews":[]}