import_metadata
Import individual metadata from a TSV file into a Gigwa database. Columns become searchable attributes for individuals.
Instructions
Import individual metadata (per-individual attributes) into an existing Gigwa database.
The file is a TSV whose first column header equals metadata_type
(individual for individual metadata) and whose values match the
individual/sample names already present in the database. Remaining columns
become searchable attributes. By default the file is validated first; set
validate_first=False to skip that check.
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": {
"tsv_path": "<tsv_path>",
"module": "<module>"
},
"name": "import_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Target Gigwa database (module) name. | |
| tsv_path | Yes | Path to the metadata TSV file. | |
| metadata_type | No | Metadata entity type / id-column name (default 'individual'). | individual |
| validate_first | No | Validate the metadata file before importing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |