Skip to content
Claude Code 深度解析
搜索
K
Main Navigation
入门指南
核心引擎
工具系统
服务层
UI 层
更多
命令大全
Bridge 通信
基础设施
参考手册
Appearance
Menu
Return to top
本页目录
Schema 定义
Zod v4 定义所有数据结构。运行时校验,编译时类型推导。
为什么用 Zod
运行时校验
TypeScript 类型自动推导
一份定义两种用途
在工具系统中的应用
每个工具的 inputSchema 都是 Zod Schema,AI 的工具调用参数自动校验。