import_data
Import data from a specified URI into an existing table on a given branch. Provide the table name and data source URI to populate the table with new records.
Instructions
Import data into a specified existing table using a table name and data source.
Args: table: Name of the table to import data into, it needs to exist beforehand. search_uri: URI to search for data files to import. branch: branch name. namespace: Optional namespace (defaults to "bauplan").
Returns: DataImported: Object indicating success/failure with job details
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": {
"table": "<table>",
"search_uri": "<search_uri>",
"branch": "<branch>"
},
"name": "import_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| search_uri | Yes | ||
| branch | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| job_id | Yes | ||
| success | Yes | ||
| message | Yes |