Docs: admin languages and texts, wording rule for agents, new screen names
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6b46bc0c14
commit
0a2374db18
+3
-3
@@ -20,7 +20,7 @@ no `next/server` import.
|
||||
|
||||
| Tool | Arguments | Returns |
|
||||
|-----------|-----------|--------|
|
||||
| `get_site_info` | `locale?` | site name and description (Site Settings), languages, home page and sitemap URLs |
|
||||
| `get_site_info` | `locale?` | site name and description (Site settings), languages, home page and sitemap URLs |
|
||||
| `list_pages` | `locale?`, `limit?` (default 50, max 200) | published pages **and archive-collection entries** (e.g. blog): title, URL, description (a table of contents). The source is the same index as llms.txt (`collectSiteIndex`), which reads at most 1000 documents per collection |
|
||||
| `search_content` | `query` (required), `locale?`, `limit?` (default 10, max 50) | list of pages (only the `collection` collection): title, URL, description (or `summaryField`) |
|
||||
| `get_page` | `path` (e.g. `/pl/o-nas`; without a language prefix → default language) | the page as clean Markdown |
|
||||
@@ -31,7 +31,7 @@ can browse it like a regular visitor. Mandatory in every project (AGENT.md §0b)
|
||||
All tools are **read-only** and return only **published** content (drafts and `meta.noindex`
|
||||
filtered out — the same rule as sitemap/llms). Under-construction mode: with `isPathVisible`
|
||||
(passed automatically by `createContentHelpers` — the `mcpGET`/`mcpPOST` route), pages hidden
|
||||
by Site Settings → Under construction drop out of `list_pages` and `search_content`, and
|
||||
by Site settings → Maintenance drop out of `list_pages` and `search_content`, and
|
||||
`get_page` answers "No page found". The full `createMcpRoute` variant without `isPathVisible`
|
||||
does not know about construction mode and serves all published content.
|
||||
|
||||
@@ -75,7 +75,7 @@ runs `initialize` → `tools/list` → and can then call `get_site_info`,
|
||||
| `config` | — (required) | `I18nConfig` |
|
||||
| `baseUrl` | — | origin for URLs in results (without it URLs are relative and there is no sitemap link) |
|
||||
| `collection` | `'pages'` | pages collection |
|
||||
| `settingsSlug` | `'site-settings'` | Site Settings global slug |
|
||||
| `settingsSlug` | `'site-settings'` | Site settings global slug |
|
||||
| `content` | — | archive collections (`list_pages`, `get_page` for entries) |
|
||||
| `summaryField` | — | field with a richer AI description (`buildSummaryField`), preferred in results |
|
||||
| `isPathVisible` | — (from `createContentHelpers`: set) | `(path, locale) => boolean` — hides pages hidden by under-construction mode |
|
||||
|
||||
Reference in New Issue
Block a user