Generate Spacing Scale
generate_spacing_scaleGenerate a consistent spacing scale from a base unit in px or rem, output as CSS or JSON. Create deterministic design tokens without an API key.
Instructions
A consistent spacing scale from a base unit (4 or 8 are common), in rem or px. Deterministic, no API key needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_spacing_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| unit | No | rem | |
| format | No | css |