load_file_target
Checks whether a target database table exists and maps file columns to table columns by name, using previewed column info and optional overrides, before loading file data.
Instructions
Does database.table exist, and how do the file's columns ([{name, index, kind, format, source}], from
load_file_preview) map onto it by name (mapping {table column: file column or null} overrides).
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": {
"database": "<database>",
"table": "<table>",
"columns": "<columns>"
},
"name": "load_file_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| columns | Yes | ||
| mapping | No | ||
| database | Yes |