AnthropicCitationCharLocationParam - TypeScript SDK

AnthropicCitationCharLocationParam type definition

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

Example Usage

1import { AnthropicCitationCharLocationParam } from "@openrouter/sdk/models";
2
3let value: AnthropicCitationCharLocationParam = {
4 citedText: "Example cited text",
5 documentIndex: 0,
6 documentTitle: null,
7 endCharIndex: 18,
8 startCharIndex: 0,
9 type: "char_location",
10};

Fields

FieldTypeRequiredDescription
citedTextstring✔️N/A
documentIndexnumber✔️N/A
documentTitlestring✔️N/A
endCharIndexnumber✔️N/A
startCharIndexnumber✔️N/A
type”char_location”✔️N/A