Get GOV.UK Page Section
govuk_get_sectionRetrieve the HTML content of a specific section from a GOV.UK page by providing the base path and section anchor ID. Use after obtaining the list of available sections.
Instructions
Get the HTML content of one named section of a GOV.UK page.
Use govuk_get_content first to get the list of available section anchors, then call this with the anchor of the section you want to read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_path | Yes | GOV.UK base_path, e.g. '/universal-credit' | |
| anchor | Yes | Section anchor ID from govuk_get_content sections list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||