Extract RSA Terms OCR
formation_extract_rsa_terms_ocrRuns vision OCR on an already-uploaded signed Restricted Stock Purchase/Award Agreement (RSA) PDF for the active company and returns the founder and company names plus structured terms (total_shares, unvested_shares, price_per_share, grant_date, vesting_start_date / vesting_total_months / vesting_cliff_months, acceleration_clause, repurchase_right, 83(b) status, etc.) WITHOUT persisting anything. Empty string / 0 / false means the value was not stated in the document — never fabricate. Flow: first call GetOcrUploadURL with kind=RSA and upload the PDF, then call this tool with the returned source_s3_uri. To persist the grant and link the document, pass the extracted terms and the SAME source_s3_uri to CreateCapTableAgreement with type=CAP_TABLE_AGREEMENT_TYPE_RSA — preserve the vesting fields, do not drop them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentCode | No | ||
| companyId | Yes | UUID value wrapper. | |
| sourceS3Uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rsaTerms | No | ||
| warnings | No | ||
| companyName | No | ||
| founderName | No | ||
| sourceS3Uri | No | ||
| ocrConfidence | No |