Odphp Tools¶

Configuration File: odphp_tools.json Tool Type: Local Tools Count: 4

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

Available Tools¶

odphp_itemlist (Type: ODPHPItemList)¶

This tools browses and returns available topics and categories and it is helpful to help narrow a…

odphp_itemlist tool specification

Tool Information:

  • Name: odphp_itemlist

  • Type: ODPHPItemList

  • Description: This tools browses and returns available topics and categories and it is helpful to help narrow a broad request (e.g., “show me all topics”). For full topic content, odphp_topicsearch tool is helpful.

Parameters:

  • lang (string) (optional) Language code (en or es)

  • type (string) (optional) topic or category

Example Usage:

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

odphp_myhealthfinder (Type: ODPHPMyHealthfinder)¶

This tool provides personalized preventive-care recommendations and it is helpful for different a…

odphp_myhealthfinder tool specification

Tool Information:

  • Name: odphp_myhealthfinder

  • Type: ODPHPMyHealthfinder

  • Description: This tool provides personalized preventive-care recommendations and it is helpful for different ages, sexes, pregnancy status, gives age/sex/pregnancy. It retrieves metadata, plain-language sections, and dataset links to the full article (AccessibleVersion links). If the user wants the full text of a recommendation, the odphp_outlink_fetch tool is helpful.

Parameters:

  • lang (string) (optional) Language code (en or es)

  • age (integer) (optional) Age in years (0–120)

  • sex (string) (optional) Male or Female

  • pregnant (string) (optional) “Yes” or “No”

  • strip_html (boolean) (optional) If true, also return PlainSections[] with HTML removed for each topic

Example Usage:

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

odphp_topicsearch (Type: ODPHPTopicSearch)¶

Find specific health topics and get their full content. Use when the user mentions a keyword (e.g…

odphp_topicsearch tool specification

Tool Information:

  • Name: odphp_topicsearch

  • Type: ODPHPTopicSearch

  • Description: Find specific health topics and get their full content. Use when the user mentions a keyword (e.g., “folic acid”, “blood pressure”) or when you already have topic/category IDs from odphp_itemlist. Returns detailed topic pages (Title, Sections, RelatedItems) and an AccessibleVersion link. Next: to quote or summarize the actual page text, pass the AccessibleVersion (or RelatedItems URLs) to odphp_outlink_fetch.

Parameters:

  • lang (string) (optional) Language code (en or es)

  • topicId (string) (optional) Comma-separated topic IDs

  • categoryId (string) (optional) Comma-separated category IDs

  • keyword (string) (optional) Keyword search for topics

  • strip_html (boolean) (optional) If true, also return PlainSections[] with HTML removed for each topic

Example Usage:

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