get_guide
返回一篇已撰写指南的完整文本。适用于非端点页面:快速入门、概念和操作指南。只提供已发布的指南,因此代理无法读取你在工作室中能看到的草稿。
何时会列出
适用于每台服务器和每种工具模式。工具组可以不包含文档工具。
参数
slugstring必填指南的 slug,来自 search_docs 或 list_endpoints。
groupSlugstring指南的 groupSlug(如果搜索或列表曾输出该值)。如果指南位于某个分区中,不提供此值就无法找到该指南。
projectIdstring要读取的项目。省略此项:服务器已知晓其项目,传入其他项目则会改为读取该项目。
返回值
指南的标题和分区,然后是正文;保留标题和项目符号,以维持原有结构。
提示
客户端读取的注释,用于判断哪些操作可以在不询问用户的情况下运行。
| 提示 | 值 | 为 true 时,表示 |
|---|---|---|
readOnlyHint | true | 不会更改任何内容 |
destructiveHint | false | 可以更改或删除数据 |
idempotentHint | true | 调用两次不会比调用一次做得更多 |
openWorldHint | true | 会通过网络访问服务器之外的资源 |
示例
阅读一篇指南
在包含指南的文档上运行。
Call
{
"name": "get_guide",
"arguments": {
"slug": "tool-groups",
"groupSlug": "mcp"
}
}Result
# Tool groups
*Section: MCP Studio*
A tool group is a smaller MCP server cut from the same tools, such as a read-only one for support or a billing one for finance. Agents do better with a short list of relevant tools, and each team can connect only what its job needs.
## Creating a group
In MCP Studio, under Servers, press New group.
Name textHow the group is named, up to 60 characters.
Slug textThe group's part of its address: lowercase letters, digits and -, up to 32 characters.
Description textWhat this server is for, shown beside its install snippet. Up to 500 characters.
Tools with these tags list of tagsIncludes everything with these tags. Tag tools under Customize for agents. New tagged tools join on their own.
And these tools list of toolsAdds individual tools, custom tools, prompts and resources.
Only tools that read on or offLimits the group to tools that read, whatever their tags.
Include the documentation tools on or offAdds search_docs and the rest of the documentation tools.
A project can have up to 20 groups.
…相关内容
- 文档工具:
search_docs、get_endpoint、list_endpoints、get_sdk_methods、list_sdks、get_changelog。 - 文档工具:代理如何协同使用这些工具。
- 搜索和 AI 聊天:为文档站点上的用户提供同样的搜索。