Get Payer Policy
get_payer_policyOne payer policy by its stable policy_id (built from the publisher and its own policy number, so it survives a moved link): its current document link, the publisher page where a replacement can be found, every edition we hold with fingerprint and date, how it is labelled (policy, listing or committee proposal), who and where it applies as the publisher states it, and its indexed sections (list_window says how many sections and products the edition holds and how many this answer carries; a long list, such as a Humana Part D criteria PDF with a section per drug, comes back 40 sections at a time: page it with section_offset or pass drug to get one drug). Get policy_id from search_payer_policies. listed_but_unread says whether the publisher lists an edition of this policy that we could not read (no extractable text, so no row) and names it; when it does, the edition marked is_current is the newest we hold and may not be the newest the publisher lists. recorded false means the refresh has not yet recorded that publisher's unreadable documents: unknown, not none.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"policy_id": "aetna:6192-C"
},
"name": "get_payer_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug | No | Optional brand or ingredient name: return only the sections and products named for that drug (use it on a long list such as a Humana Part D criteria PDF, which holds a section per drug) | |
| doc_key | No | Optional exact edition id from a search result (overrides policy_id and version) | |
| version | No | Optional edition key or label (default: the current edition) | |
| policy_id | No | Stable id from a search result, e.g. aetna:6192-C or uhc:P-1475 | |
| section_limit | No | Optional: sections per page (default 40, max 100) | |
| section_offset | No | Optional: sections to skip, for paging (default 0). Use list_window.sections.next_offset from the previous answer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | No | ||
| source | No | ||
| selected | No | ||
| versions | No | ||
| policy_id | No |