Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does this support standard schema?


It does!

import { z } from "zod";

inputSchema: z.object({ query: z.string() });

or

import * as v from "valibot";

inputSchema: v.object({ query: v.string() });

or

import { type } from "arktype";

inputSchema: type({ query: "string" });




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: