discover_rows
Discover and add new rows to validated tables using AI-powered search. Get a cost estimate before confirming to enqueue the discovery pipeline.
Instructions
Discover and add new rows to an existing validated table using AI-powered search.
Uses the existing table's config and validated data to plan a targeted row discovery run. The planner derives search strategy from the config, then RowDiscovery finds candidates and QC filters them.
If confirmed=False, returns a cost estimate. If confirmed=True, enqueues the discovery pipeline (planner -> search -> QC -> pending_rows).
Discovered rows land in pending_rows with source='row_discover'. Run add_validated_rows to validate them, or trigger a preview to see them.
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": {
"session_id": "<session_id>",
"instruction": "<instruction>"
},
"name": "discover_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID of a completed validation. | |
| instruction | Yes | What rows to discover, e.g. 'add 5 EU pharma companies' or 'find more entries matching the existing pattern'. | |
| count | No | Target number of new rows to discover. | |
| confirmed | No | Set True to approve and trigger the RowDiscover run. Set False (default) to see the cost quote first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |