SourceContent - TypeScript SDK

SourceContent type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { SourceContent } from "@openrouter/sdk/models";
2
3let value: SourceContent = {
4 content: "<value>",
5 type: "content",
6};

Fields

FieldTypeRequiredDescription
contentmodels.AnthropicDocumentBlockParamContent2✔️N/A
type”content”✔️N/A