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

Use Pulse to review this document:
https://platform.runpulse.com/api/examples/d4dfc1e2-60ac-4776-a5a8-20b88e68bf9f/pdf

First extract the document with page chunking. If sections are mixed, split it into
topics before applying schemas. Return:
1. A short summary.
2. The key parties and dates as JSON.
3. Any tables or schedules that appear material.
4. Page references for every important claim.

If a Pulse job is still processing, poll it with get_job.

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.