Design
Preview a heading and body font pairing with real copy, sizes, weights, line heights, character samples, and CSS stacks.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/font-pairing-preview-card' \
-H 'Content-Type: application/json' \
-d '{"headingFont":"Fraunces, Georgia, serif","bodyFont":"Inter, system-ui, sans-serif","sampleText":"Design systems should make the right choice easy.","language":"latin","headingSize":48,"bodySize":18,"headingWeight":700,"bodyWeight":400,"headingLineHeight":1.1,"bodyLineHeight":1.6}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/font-pairing-preview-card| Name | Type | Required | Description |
|---|---|---|---|
| headingFont | text | Yes | — |
| bodyFont | text | Yes | — |
| sampleText | textarea | Yes | — |
| language | select | No | — |
| headingSize | number | No | — |
| bodySize |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-font-pairing-preview-card": {
"name": "font-pairing-preview-card",
"description": "Preview a heading and body font pairing with real copy, sizes, weights, line heights, character samples, and CSS stacks.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=font-pairing-preview-card",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "font-pairing-preview-card",
"arguments": {
"headingFont": "Fraunces, Georgia, serif",
"bodyFont": "Inter, system-ui, sans-serif",
"sampleText": "Design systems should make the right choice easy.",
"language": "latin",
"headingSize": 48,
"bodySize": 18,
"headingWeight": 700,
"bodyWeight": 400,
"headingLineHeight": 1.1,
"bodyLineHeight": 1.6
}
}
}| number |
| No |
| — |
| headingWeight | number | No | — |
| bodyWeight | number | No | — |
| headingLineHeight | number | No | — |
| bodyLineHeight | number | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]