This tutorial assumes you already have a working Redop server.Documentation Index
Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt
Use this file to discover all available pages before exploring further.
What you will add
- runtime validation for tool input
- TypeScript inference inside the handler
- defaults and constraints in one schema
Step 1: Install Zod
Step 2: Add a schema
What changed
input.queryis now typed asstringinput.limitis now typed asnumber- Redop uses the same schema for runtime parsing and tool discovery