extractContractFromRaw
extractContractFromRawExtract structured contract data from raw text descriptions, capturing key details like dates, pricing, and billing terms for automated contract creation.
Instructions
Extract structured contract data from raw text content using AI. This tool analyzes natural language contract descriptions and extracts key fields like dates, products, pricing, and billing terms. The extracted data can then be used to create a customer and contract via createCustomer and createContract tools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"name": "<name>"
},
"name": "extractContractFromRaw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the contract being extracted. | |
| content | Yes | The raw text content describing the contract (e.g., 'Contract starts on 1st Jan 2025 and ends on 31 Dec 2025 with a single product called chat subscription, cost is $10 per month prepaid.'). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| organization_id | No | The organization ID for the contract extraction (will be auto-populated from user context if not provided). |