Skip to main content
Run any Skill in Manus
with one click

search-tool-schema-design

Stars4
Forks1
UpdatedMay 22, 2026 at 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`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly