tooluniverse.tools.drugbank_vocab_filter moduleΒΆ

drugbank_vocab_filter

Filter the DrugBank vocabulary dataset based on specific field criteria. Use simple field-value p…

tooluniverse.tools.drugbank_vocab_filter.drugbank_vocab_filter(field, condition, limit, value=None, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Filter the DrugBank vocabulary dataset based on specific field criteria. Use simple field-value p…

Parameters:
  • field (str) – The field to filter on

  • condition (str) – The type of filtering condition to apply. Filter is case-insensitive.

  • value (str) – The value to filter by. Not required when condition is β€˜not_empty’. Examples:…

  • limit (int) – Maximum number of results to return.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

dict[str, Any]