get_available_fields
Discover available search and return fields for ENA data types to enable custom query building.
Instructions
Get available search and return fields for an ENA result type.
Usage Tips
Use to discover what fields you can search on and what metadata fields are available for a given data type in ENA. Helpful for building custom queries with build_custom_query().
Returns
dict Dictionary containing: - result_type: The queried result type - search_fields: List of searchable fields with id, description, type (if requested) - search_fields_count: Number of search fields (if requested) - return_fields: List of returnable fields with id, description, type (if requested) - return_fields_count: Number of return fields (if requested) - error: Error message if any
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result_type | No | Type of ENA data to query (read_study, study, sample, read_run, read_experiment, analysis) | read_study |
| field_category | No | Which fields to return (all, search, return) | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||