工具
MCP 服务器为你所使用的模型提供了以下工具,模型可以决定在会话期间调用其中一个或多个工具:
¥The following tools are provided by the MCP server to the model you are using, which can decide to call one or more of them during a session:
list-sections
提供所有可用文档部分的列表。
¥Provides a list of all the available documentation sections.
get-documentation
允许模型直接从 svelte.dev/docs 获取所请求部分的完整(最新)文档。
¥Allows the model to get the full (and up-to-date) documentation for the requested sections directly from svelte.dev/docs.
svelte-autofixer
使用静态分析为你的 LLM 生成的代码提供建议。它可以由你的模型在代理循环中调用,直到所有问题和建议都得到解决。
¥Uses static analysis to provide suggestions for code that your LLM generates. It can be invoked in an agentic loop by your model until all issues and suggestions are resolved.
playground-link
使用生成的代码生成一个临时的在线运行链接。当生成的代码未写入项目中的某个文件,并且你想要快速测试生成的解决方案时,它非常有用。除了 URL 本身(因此,URL 通常会非常大),代码不会存储在任何地方。
¥Generates an ephemeral playground link with the generated code. It’s useful when the generated code is not written to a file in your project and you want to quickly test the generated solution. The code is not stored anywhere except the URL itself (which will often, as a consequence, be quite large).