build_discover_source
Runs discovery on a connector and returns its source streams (names, columns, primary keys), AI-inferred Supero schemas, field mappings and a suggested namespace. Inputs: connector_id, optional execution_id, timeout. Runs between build_connect_data_source and build_bind_data_source; a live bind's source has to equal a discovered stream name.
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": {
"connector_id": "<connector_id>"
},
"name": "build_discover_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max seconds to wait IN THIS CALL (default 60, cap 90 — an MCP call must finish under the ~100s edge limit). On timeout, resume with the returned execution_id; the job keeps running server-side. | |
| connector_id | Yes | The connector to discover (from build_connect_data_source). | |
| execution_id | No | RESUME polling an in-flight discovery (from a previous timeout error) instead of starting a new job. |