preview_page_fonts
Render saved custom or imported font files from this page as a PNG specimen sheet. Save user uploads with store_page_file first, then supply their fileId, family, weight and style. Imported font metadata supplies defaults. Returns a visual preview without sending raw font files to the model. Does not edit or publish the page.
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": {
"target": "<target>",
"fonts": "<fonts>"
},
"name": "preview_page_fonts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fonts | Yes | One to six saved font files to compare. | |
| target | Yes | Target page resource; kind must be page. | |
| sampleText | No | Optional actual page copy to render at heading and body sizes. |