list_metadata_values
Discover available metadata fields and their distinct values for a dataset, enabling accurate construction of metadata-based filters. Use this to identify valid field names and values before querying individual genotypes.
Instructions
List the individual-metadata fields available for a database and their distinct values.
Backed by the endpoint the Gigwa web UI itself uses to populate its metadata-based
selection filters, so it works even on builds where get_germplasm_metadata's BrAPI
fallback returns no attributes. Use this to discover field names/values before calling
filter_individuals_by_metadata.
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": {
"variant_set_db_id": "<variant_set_db_id>"
},
"name": "list_metadata_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant_set_db_id | Yes | BrAPI variantSetDbId identifying the run (MODULE§project§run) -- copy the exact string from list_variant_sets / list_content, never assemble one by hand: the middle segment is a numeric project index, not the project's name, and a wrong guess fails with an opaque HTTP 500 rather than a clear error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |