Foodb Tools

Configuration File: foodb_tools.json Tool Type: Local Tools Count: 1

This page contains all tools defined in the foodb_tools.json configuration file.

Available Tools

FooDB_get_compound (Type: FooDBCompoundTool)

Get a food constituent/chemical from FooDB (the largest food-chemical database) by its FooDB comp…

FooDB_get_compound tool specification

Tool Information:

  • Name: FooDB_get_compound

  • Type: FooDBCompoundTool

  • Description: Get a food constituent/chemical from FooDB (the largest food-chemical database) by its FooDB compound id (e.g. ‘FDB000004’). Returns name, description of food occurrence, CAS number, molecular formula, SMILES/InChI/InChIKey, logP, solubility, and cross-references (HMDB, KEGG, PubChem, ChEBI). Complements nutrient databases (USDA FoodData Central) by covering the phytochemicals/metabolites that make up food. Use for food-metabolomics and to bridge a FooDB id to structure and other databases. FooDB has no name-search API; query by FDB id. No API key required.

Parameters:

  • fdb_id (string) (required) FooDB compound id, e.g. ‘FDB000004’.

Example Usage:

query = {
    "name": "FooDB_get_compound",
    "arguments": {
        "fdb_id": "example_value"
    }
}
result = tu.run(query)