Legal Render
legal_renderRender privacy policy Markdown files from app spec and config, filling placeholders and optionally keeping or dropping the HealthKit block before legal checks.
Instructions
Fill the legal sources (store/privacy/*.md, backend/PRIVACY.md) from the spec and config, keeping or dropping the HealthKit block.
Use when: before legal_check. Local writes only. Returns: {ok, files, placeholders_left}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Map of placeholder name to text for product-specific legal placeholders. | |
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||