Find contracts by external record ID
find_contracts_by_external_metadataReverse lookup: given an external record ID (e.g., HubSpot deal ID), returns up to 50 linked SpotDraft contracts. Use to find which contracts are associated with a specific deal.
Instructions
Reverse lookup: given an external record ID (for Rad AI, a HubSpot deal ID), returns the SpotDraft contracts linked to it (up to 50). Use to answer 'which SpotDraft contracts are linked to deal X'. Pairs with get_contract_external_metadata (forward lookup by contract).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| external_metadata_id | Yes | The external record ID to search by, e.g. a HubSpot deal ID like '7762724431'. |