import_and_wait
Import source metadata into a knowledge base and wait for the ingestion to finish. Returns the final status, or continues server-side if timeout elapses for later polling.
Instructions
Import a source's metadata into a knowledge base and wait for it to finish.
Convenience wrapper over import_source_metadata + get_ingestion_task. Returns the knowledge_base_id and the final status; if it is still running when timeout_s elapses the import continues server-side and you can keep polling get_ingestion_task.
Writes embeddings into destination_id, so use a destination you own.
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": {
"source_id": "<source_id>",
"name": "<name>",
"source_schema": "<source_schema>",
"table_names": "<table_names>",
"destination_id": "<destination_id>"
},
"name": "import_and_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| source_id | Yes | ||
| timeout_s | No | ||
| description | No | ||
| table_names | Yes | ||
| source_schema | Yes | ||
| destination_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||