Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { AnthropicCitationContentBlockLocationParam } from "@openrouter/sdk/models";

let value: AnthropicCitationContentBlockLocationParam = {
  citedText: "Example cited text",
  documentIndex: 0,
  documentTitle: null,
  endBlockIndex: 1,
  startBlockIndex: 0,
  type: "content_block_location",
};

Fields

FieldTypeRequiredDescription
citedTextstring:heavy_check_mark:N/A
documentIndexnumber:heavy_check_mark:N/A
documentTitlestring:heavy_check_mark:N/A
endBlockIndexnumber:heavy_check_mark:N/A
startBlockIndexnumber:heavy_check_mark:N/A
type”content_block_location”:heavy_check_mark:N/A