Files for agents
llms()addsfiles()andserve(path):llms.txt,llms-full.txtand<page>.mdfiles by their public path, served from one route.- URL directories get their own
llms-full.txt, listed inllms.txt, so large docs can be read section by section. llms.txtfromserve()links pages to their Markdown.- The
filteroption leaves pages out offull()and the files. - Components without a Markdown form keep their MDX tag name in processed Markdown, also in production builds.
- The
get_pageMCP tool accepts URLs with a hash or query, like the URLs of search results. - Auto type tables show the full type of each prop in Markdown.