Read one FinOps guide
get_referenceFetch the guidance on one FinOps topic - the billing mechanics, decision rules and worked examples behind a defensible answer - either whole or one section at a time.
Use this when you need the actual content of one known reference -
after list_references or find_references told you which one
serves the question, and ALWAYS before answering an advisory question
(commitment sizing, chargeback design, allocation methodology) the
library covers.
Pass section when the question is narrower than the file. The
approx_tokens hint in the listing tells you when this matters: the
provider pattern catalogues run past 25,000 tokens and are enumerated
lists, so a question about S3 lifecycle wants one section of
finops-aws-patterns, not all of it. Omit section for the whole
file when you need the cross-cutting reasoning.
Args:
name: Reference name as returned by list_references (e.g.
"finops-aws", "finops-genai-capacity",
"optimnow-methodology").
section: Optional H2 or H3 heading to return on its own. Matched
case-insensitively and partially against the headings, so a
natural phrase works - "storage", "commitment decision tree". A heading's trailing count is ignored, so
"storage optimization patterns" matches
"Storage Optimization Patterns (28)". If it matches nothing
you get the list of available headings back, not the whole file.
Without section, returns {"name": ..., "content": "...", "lines": N} where content is the file verbatim. With section,
returns {"name", "title", "section", "section_level", "partial": true, "content", "lines", "full_lines"} where content is that section
prefixed by the reference's title, plus other_matching_sections when
the phrase matched more than one heading.
On a miss, returns {"error": ..., "suggestions": [...]}. An unknown
name gives up to three string-distance matches; an unmatched section
gives available_sections - every heading in the file - so the retry
is exact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||