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}.
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": {
"app_dir": "<app_dir>"
},
"name": "legal_render"
}
}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 | |||