Skip to main content
在 Manus 中运行任何 Skill
一键导入

search-tool-schema-design

星标4
分支1
更新时间2026年5月22日 09:24

Design input and output JSON Schemas for search or retrieval tools that query the web, databases, code indexes, vector stores, or external services. Use when designing, reviewing, or refactoring a search-result tool, even if the user does not say "schema". Covers required vs optional/nullable fields, empty results, missing metadata, truncation/pagination (`appliedLimit` vs `truncated`), heterogeneous results (`z.union` and discriminated unions), enum `other` vs `unclear`, and HTTP metadata. Trigger on "search tool", "database/web/vector search", "retrieval output schema", "pagination", "truncation", "no results", "nullable fields", "enum other/unclear", or hallucinated missing fields. For general tool description or splitting, use `mcp-tool-design`; for error shapes, use `mcp-error-response`.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly