Skip to main content

Goal

Let an agent inspect a long document, decide whether to extract, split, schema, or table it, and return an answer with source references.

Sample Documents

Use Blackstone Report for financial narrative review or Legal Filing for long legal review.

Tool Path

Prompt Template

Agent Rules

  • Extract once, then reuse extraction_id.
  • Split before schema when different sections need different logic.
  • Use generate_schema only when the schema is not already defined.
  • Use extract_tables for schedules or financial tables instead of asking the model to infer table structure from prose.
  • Ask the user for a presigned URL or local file path; hosted MCP cannot read local disk.
  • Return uncertainties and missing fields explicitly.

Agent Quickstart

Connect an MCP client.

MCP Tools

Tool parameters and returns.

Sample Documents

Public samples for agent tests.