Skip to main content
The split tool breaks markdown content into smaller chunks. Chunking keeps each piece small enough for the shape and extract steps to process reliably.

Prerequisites

  • An AiQL API key in the AIQL_API_KEY environment variable
  • Markdown content from the Convert step

Split markdown content

Send the markdown to split. Tool requests authenticate with a Bearer token and do not need a workspace.
The response is an ordered list of chunks. Smaller chunks isolate context more tightly; larger chunks keep related content together.

Next step

Pass the chunks to Shape to infer the schema of the data.
split is billed at 1 credit per 1,000 words of converted text, with a minimum of 1 credit. See Pricing for details.