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)#
List ODPHP MyHealthfinder v4 topics or categories. The response exposes the upstream total, retur…
odphp_itemlist tool specification
Tool Information:
Name:
odphp_itemlistType:
ODPHPItemListDescription: List ODPHP MyHealthfinder v4 topics or categories. The response exposes the upstream total, returned record count, and exact completeness; application-level errors and ignored query values are explicit.
Parameters:
lang(string) (optional) Language code (en or es)type(string) (required) topic or category
Example Usage:
query = {
"name": "odphp_itemlist",
"arguments": {
"type": "example_value"
}
}
result = tu.run(query)
odphp_myhealthfinder (Type: ODPHPMyHealthfinder)#
Retrieve personalized preventive-care recommendations from the ODPHP MyHealthfinder v4 API. The r…
odphp_myhealthfinder tool specification
Tool Information:
Name:
odphp_myhealthfinderType:
ODPHPMyHealthfinderDescription: Retrieve personalized preventive-care recommendations from the ODPHP MyHealthfinder v4 API. The response reports the upstream total, returned record count, and exact completeness. HTTP-200 application errors and silently changed query values are explicit. Use odphp_outlink_fetch for AccessibleVersion links.
Parameters:
lang(string) (required) Language code (en or es)age(integer) (required) Age in years (0–120)sex(string) (required) Male or Femalepregnant(string) (required) “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": {
"lang": "example_value",
"age": 10,
"sex": "example_value",
"pregnant": "example_value"
}
}
result = tu.run(query)
odphp_outlink_fetch (Type: ODPHPOutlinkFetch)#
Retrieve readable content from 1-3 ODPHP or related absolute URLs. HTML is cleaned, JSON is seria…
odphp_outlink_fetch tool specification
Tool Information:
Name:
odphp_outlink_fetchType:
ODPHPOutlinkFetchDescription: Retrieve readable content from 1-3 ODPHP or related absolute URLs. HTML is cleaned, JSON is serialized instead of silently returned as empty text, and plain text is preserved. max_chars truncation is explicit per result via original_text_chars/text_truncated. More than 3 URLs or invalid controls are rejected before any network request; per-URL HTTP failures are surfaced in both the item and aggregate completeness metadata.
Parameters:
urls(array) (required) 1–3 absolute URLs from AccessibleVersion or RelatedItems.Urlmax_chars(integer) (optional) Optional hard cap on extracted text length (e.g., 5000)return_html(boolean) (optional) If true, also return original HTML for HTML responses
Example Usage:
query = {
"name": "odphp_outlink_fetch",
"arguments": {
"urls": ["item1", "item2"]
}
}
result = tu.run(query)
odphp_topicsearch (Type: ODPHPTopicSearch)#
Search ODPHP MyHealthfinder v4 topics by topic ID or keyword, or omit both to retrieve all topics…
odphp_topicsearch tool specification
Tool Information:
Name:
odphp_topicsearchType:
ODPHPTopicSearchDescription: Search ODPHP MyHealthfinder v4 topics by topic ID or keyword, or omit both to retrieve all topics. categoryId is retained for compatibility, but an upstream-ignored value now produces an explicit parameter-mismatch error. Exact total/count completeness and HTTP-200 application errors are exposed. Use odphp_outlink_fetch for linked content.
Parameters:
lang(string) (required) Language code (en or es)topicId(string) (optional) Comma-separated topic IDscategoryId(string) (optional) Comma-separated category IDskeyword(string) (optional) Keyword search for topicsstrip_html(boolean) (optional) If true, also return PlainSections[] with HTML removed for each topic
Example Usage:
query = {
"name": "odphp_topicsearch",
"arguments": {
"lang": "example_value"
}
}
result = tu.run(query)