AnthropicCitationContentBlockLocationParam - TypeScript SDK

AnthropicCitationContentBlockLocationParam type definition

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

Example Usage

1import { AnthropicCitationContentBlockLocationParam } from "@openrouter/sdk/models";
2
3let value: AnthropicCitationContentBlockLocationParam = {
4 citedText: "Example cited text",
5 documentIndex: 0,
6 documentTitle: null,
7 endBlockIndex: 1,
8 startBlockIndex: 0,
9 type: "content_block_location",
10};

Fields

FieldTypeRequiredDescription
citedTextstring✔️N/A
documentIndexnumber✔️N/A
documentTitlestring✔️N/A
endBlockIndexnumber✔️N/A
startBlockIndexnumber✔️N/A
type”content_block_location”✔️N/A