get_embed_code
Generate the HTML link tags and CSS font-family declaration needed to embed a Google Font on a web page. Select the family and weights to get the copy-paste code.
Instructions
Get the HTML link tags and CSS font-family declaration to use a Google Font on a web 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": {
"family": "<family>"
},
"name": "get_embed_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| family | Yes | Family name, case-insensitive (e.g. "Open Sans") | |
| weights | No | Upright weights to load, e.g. [400, 700] |