analyze_document
Analyze a completed envelope's document using AI to get a structured report on risk assessment, flagged clauses, and overall sentiment (SAFE, CAUTION, RISKY).
Instructions
Run AI contract analysis (Google Gemini) on a completed envelope's document. Returns a structured report covering risk assessment, flagged clauses, and overall sentiment (SAFE / CAUTION / RISKY). Plan-gated: free accounts receive a 403; upgrade to Pro Lite or above to use this. Surface the 403 message to the user rather than retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelopeId | Yes | Envelope ID to analyze |