run_enrichment
Execute data enrichment with provided parameters, automatically handling async polling and returning cached results. Supports pagination for multiple pages.
Instructions
Execute a data enrichment with the provided parameters. Automatically handles async execution and polling, returning final results. Results are cached for 24 hours to reduce costs. Subject to spending limits (DATABAR_MAX_COST_PER_REQUEST, DATABAR_MIN_BALANCE). For paginated enrichments, use the pages parameter to fetch multiple pages (each page is billed separately).
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": {
"enrichment_id": "<enrichment_id>",
"params": "<params>"
},
"name": "run_enrichment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrichment_id | Yes | The ID of the enrichment to run | |
| params | Yes | Parameters required by the enrichment (e.g., {"email": "test@example.com"}) | |
| skip_cache | No | Skip cache and fetch fresh data (default: false) | |
| pages | No | Number of pages to fetch for paginated enrichments (default: 1, max: 100). Each page is billed separately. Use get_enrichment_details to check if pagination is supported. |