Dailymed Tools

Configuration File: dailymed_tools.json Tool Type: Local Tools Count: 2

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

Available Tools

DailyMed_get_spl_by_setid (Type: GetSPLBySetIDTool)

Get complete label corresponding to SPL Set ID, returns content in XML or JSON format.

DailyMed_get_spl_by_setid tool specification

Tool Information:

  • Name: DailyMed_get_spl_by_setid

  • Type: GetSPLBySetIDTool

  • Description: Get complete label corresponding to SPL Set ID, returns content in XML or JSON format.

Parameters:

  • setid (string) (required) SPL Set ID to query.

  • format (string) (optional) Return format, only supports ‘xml’.

Example Usage:

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

DailyMed_search_spls (Type: SearchSPLTool)

Search SPL list using multiple filter conditions (drug_name/ndc/rxcui/setid) and return metadata …

DailyMed_search_spls tool specification

Tool Information:

  • Name: DailyMed_search_spls

  • Type: SearchSPLTool

  • Description: Search SPL list using multiple filter conditions (drug_name/ndc/rxcui/setid) and return metadata + data array.

Parameters:

  • drug_name (string) (optional) Generic or brand name of the drug, e.g., ‘TAMSULOSIN HYDROCHLORIDE’.

  • ndc (string) (optional) National Drug Code (NDC).

  • rxcui (string) (optional) RxNorm Code (RXCUI).

  • setid (string) (optional) Set ID corresponding to the SPL.

  • published_date_gte (string) (optional) Published date >= specified date, format ‘YYYY-MM-DD’.

  • published_date_eq (string) (optional) Published date == specified date, format ‘YYYY-MM-DD’.

  • pagesize (integer) (optional) Number of items per page, maximum 100, default 100.

  • page (integer) (optional) Page number, starts from 1, default 1.

Example Usage:

query = {
    "name": "DailyMed_search_spls",
    "arguments": {
    }
}
result = tu.run(query)