get_program
Fetch one program in full detail by its slug, including in-scope and out-of-scope targets, reward ranges, documentation URL and platform metadata. Use after search_programs when the user wants specifics about a single program. When a program has no in-scope assets, the reason is reported as in_scope.empty_reason here, which is the same value search_programs reports as in_scope_empty_reason.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "get_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Program slug, as returned by search_programs. | |
| include_policy | No | Attach what is actually eligible on this program: which impacts map to which severity, and what is excluded. Each section carries a status, so "not_attempted" and a confirmed empty list are distinguishable. Requires a Hunter or Operator plan for content; other plans see statuses only. Where it has been extracted, each item carries applicability saying which asset classes it covers: asset_class with asset_classes to join against in_scope[].type and reward_ranges[].asset_type, program_wide, or unknown when the source did not say. Where every item in a section carries it, the section also carries per-mode counts. Check in_scope_is_exhaustive before joining on asset class: false means the impact governs, so an asset absent from in_scope can still be covered. Absent means the platform simply does not publish the concept — absent is not true, and in_scope must never be treated as the complete universe of covered assets on no evidence. | |
| policy_text_cursor | No | Read the next window of raw policy text. Pass the exact next_cursor value from a previous response's policy_text, together with include_policy_text. Omit it to start from the beginning. If the program edited its policy since that cursor was issued you get a policy_revision_changed error — start the read again rather than combining what you already have with what comes back. | |
| include_policy_text | No | Attach the program's raw eligibility text as published, for reading clauses we have not parsed into sections. This is raw source, not extracted data — do not treat it as structured. One window of about 8 KB per call; the response carries has_more and next_cursor. Requires a Hunter or Operator plan. | |
| include_repository_refs | No | Attach the repositories named in this program's scope with the commit each resolved to, so you can check out exactly the eligible code. Requires a Hunter or Operator plan for commits; other plans see status only. |