Materialize Documentation
Answer Materialize questions from the current docs, not from memory. Every docs page is published as markdown.
- Find the page in
llms.txt. It lists every page with its title, markdown URL and a one-line description, either itself or through onellms.txtper docs section. Fetch it and ask for the pages about your topic, with their URLs exactly as written. If it lists section indexes instead of pages, fetch the section index that fits and ask it. Do not guess URLs: onlyhttps://materialize.com/docs/markdown-docs/<path>/index.mdserves markdown. - Fetch the page's markdown URL with WebFetch, or your agent's fetch tool. WebFetch returns another model's extract, not the page, so ask for the syntax, query or table you need by name and verbatim. If you have a shell,
curl -sf <url>returns the whole page. - Do not fetch section pages. A page is a section page when
llms.txtlists other pages below its path:sql/index.mdis the section page forsql/create-source/index.md. Section pages include the full text of every page below them and are too long to fetch whole. Fetch the pages below them instead. - Convert links before following them. Links in the pages omit the
markdown-docsprefix:/sql/create-clusteror/sql/create-cluster/#syntax: fetchhttps://materialize.com/docs/markdown-docs/sql/create-cluster/index.md.../create-roleon.../markdown-docs/sql/alter-role/index.md: fetch.../markdown-docs/sql/create-role/index.md.- If a converted URL returns 404, find the page in
llms.txtby the link text.
- Answer with SQL syntax quoted exactly as the page gives it, and link the human-readable page: drop
markdown-docs/and the trailingindex.md, for examplehttps://materialize.com/docs/sql/create-source/.
