Skip to main content
This release is 13 versions behind 2.0.0 — the latest version of @open-schemas/zod. Jump to latest

Zod schemas for the API of LLM providers.

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
47%
Published
a week ago
indexanthropic
deno add @open-schemas/zod
import * as mod from "@open-schemas/zod/anthropic";
npx jsr add @open-schemas/zod
import * as mod from "@open-schemas/zod/anthropic";
yarn dlx jsr add @open-schemas/zod
import * as mod from "@open-schemas/zod/anthropic";
pnpm dlx jsr add @open-schemas/zod
import * as mod from "@open-schemas/zod/anthropic";
bunx jsr add @open-schemas/zod
import * as mod from "@open-schemas/zod/anthropic";

This module contains types for Anthtopic API.

Examples

Example 1

import { CreateMessageRequest } from "@open-schemas/zod/anthropic";

CreateMessageRequest.parse({});

Type Aliases

T
v
Content
from anthropic
No documentation available
T
v
ContentBlockDeltaEvent
from anthropic
No documentation available
T
v
ContentBlockStartEvent
from anthropic
No documentation available
T
v
ContentBlockStopEvent
from anthropic
No documentation available
T
v
CreateMessageRequest
from anthropic
No documentation available
T
v
CreateMessageResponse
from anthropic
No documentation available
T
v
ImageContent
from anthropic
No documentation available
T
v
ImageContentSource
from anthropic
No documentation available
T
v
Message
from anthropic
No documentation available
T
v
MessageDeltaEvent
from anthropic
No documentation available
T
v
MessageStartEvent
from anthropic
No documentation available
T
v
MessageStopEvent
from anthropic
No documentation available
T
v
MessageUsage
from anthropic
No documentation available
T
v
StopReason
from anthropic
No documentation available
T
v
TextContent
from anthropic
No documentation available