Golden ratio steps
golden_ratio_stepsCalculate values stepped up or down by the golden ratio (× or ÷ 1.618), with optional units, to create type scales or pick adjacent sizes.
Instructions
Step any number up or down the golden ratio (x or / 1.61803398875), e.g. to pick a type scale or the next size. What the goldenratio.app Alfred workflow does.
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": {
"value": "<value>"
},
"name": "golden_ratio_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit suffix for the text column, e.g. "px". | |
| value | Yes | Starting value, e.g. 16. | |
| steps_up | No | Steps above the value (default 5). | |
| steps_down | No | Steps below the value (default 5). |