One Million Tools is an MCP server published by io.github.lucas-project, hosted at tools-empire-mcp.lucas-qin-au.workers.dev. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 42 tools, including json_format, json_minify, json_validate, json_diff, json_to_yaml.
42 free deterministic utilities: JSON, CSV, YAML, encoding, hashing, JWT, cron, formatters, CSS.
1 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Pretty-print JSON with configurable indentation (2 spaces, 4 spaces, or tab).
| Parameter | Type | Description |
|---|---|---|
| input * | string | Raw JSON text to format. |
| indent | string | one of ["2","4","tab"] |
{
"name": "json_format",
"description": "Pretty-print JSON with configurable indentation (2 spaces, 4 spaces, or tab).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string",
"description": "Raw JSON text to format."
},
"indent": {
"enum": [
"2",
"4",
"tab"
],
"type": "string",
"default": "2"
}
}
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Compress JSON by stripping whitespace.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "json_minify",
"description": "Compress JSON by stripping whitespace.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Validate JSON syntax and return the parsed value or a line/column error.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "json_validate",
"description": "Validate JSON syntax and return the parsed value or a line/column error.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Diff two JSON documents and return added/removed/changed keys.
| Parameter | Type | Description |
|---|---|---|
| left * | string | |
| right * | string |
{
"name": "json_diff",
"description": "Diff two JSON documents and return added/removed/changed keys.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"left",
"right"
],
"properties": {
"left": {
"type": "string"
},
"right": {
"type": "string"
}
}
}
}Convert JSON to YAML.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "json_to_yaml",
"description": "Convert JSON to YAML.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Convert YAML to pretty-printed JSON.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "yaml_to_json",
"description": "Convert YAML to pretty-printed JSON.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Convert an array of JSON objects to CSV.
| Parameter | Type | Description |
|---|---|---|
| input * | string | JSON array of flat objects. |
{
"name": "json_to_csv",
"description": "Convert an array of JSON objects to CSV.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string",
"description": "JSON array of flat objects."
}
}
}
}Parse CSV text into a JSON array of objects.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "csv_to_json",
"description": "Parse CSV text into a JSON array of objects.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}UTF-8 text → Base64 string.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "base64_encode",
"description": "UTF-8 text → Base64 string.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Base64 string → UTF-8 text.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "base64_decode",
"description": "Base64 string → UTF-8 text.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Percent-encode a string (component or full URI mode).
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["component","uri"] |
| input * | string |
{
"name": "url_encode",
"description": "Percent-encode a string (component or full URI mode).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"mode": {
"enum": [
"component",
"uri"
],
"type": "string",
"default": "component"
},
"input": {
"type": "string"
}
}
}
}Decode percent-encoded URL text.
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["component","uri"] |
| input * | string |
{
"name": "url_decode",
"description": "Decode percent-encoded URL text.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"mode": {
"enum": [
"component",
"uri"
],
"type": "string",
"default": "component"
},
"input": {
"type": "string"
}
}
}
}Compute a SHA-256 hex digest of UTF-8 text.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "sha256_hash",
"description": "Compute a SHA-256 hex digest of UTF-8 text.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Compute a SHA-1 / SHA-256 / SHA-512 hex digest of UTF-8 text.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| algorithm | string | one of ["SHA-1","SHA-256","SHA-512"] |
{
"name": "hash_text",
"description": "Compute a SHA-1 / SHA-256 / SHA-512 hex digest of UTF-8 text.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"algorithm": {
"enum": [
"SHA-1",
"SHA-256",
"SHA-512"
],
"type": "string",
"default": "SHA-256"
}
}
}
}Generate RFC 4122 v4 UUIDs.
| Parameter | Type | Description |
|---|---|---|
| count | integer |
{
"name": "uuid_generate",
"description": "Generate RFC 4122 v4 UUIDs.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"count": {
"type": "integer",
"default": 1,
"maximum": 64,
"minimum": 1
}
}
}
}Test a regular expression against input text and return matches with capture groups.
| Parameter | Type | Description |
|---|---|---|
| flags | string | Flags, e.g. 'gi'. |
| input * | string | |
| pattern * | string | Regex source, no surrounding slashes. |
| replacement | string | Optional replacement for String.replace. |
{
"name": "regex_test",
"description": "Test a regular expression against input text and return matches with capture groups.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pattern",
"input"
],
"properties": {
"flags": {
"type": "string",
"default": "",
"description": "Flags, e.g. 'gi'."
},
"input": {
"type": "string"
},
"pattern": {
"type": "string",
"description": "Regex source, no surrounding slashes."
},
"replacement": {
"type": "string",
"description": "Optional replacement for String.replace."
}
}
}
}Convert a Unix timestamp (seconds or ms) to an ISO 8601 date string.
| Parameter | Type | Description |
|---|---|---|
| unit | string | one of ["seconds","milliseconds"] |
| zone | string | one of ["local","utc"] |
| input * | string | Numeric Unix timestamp as a string. |
{
"name": "unix_timestamp_convert",
"description": "Convert a Unix timestamp (seconds or ms) to an ISO 8601 date string.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"unit": {
"enum": [
"seconds",
"milliseconds"
],
"type": "string",
"default": "seconds"
},
"zone": {
"enum": [
"local",
"utc"
],
"type": "string",
"default": "utc"
},
"input": {
"type": "string",
"description": "Numeric Unix timestamp as a string."
}
}
}
}Decode a JWT header + payload. Does not verify the signature.
| Parameter | Type | Description |
|---|---|---|
| token * | string |
{
"name": "jwt_decode",
"description": "Decode a JWT header + payload. Does not verify the signature.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"token"
],
"properties": {
"token": {
"type": "string"
}
}
}
}Pretty-print SQL.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| indent | string | one of ["2","4"] |
| dialect | string | one of ["sql","postgresql","mysql","sqlite","bigquery","tsql","mariadb","plsql","db2","redshift","snowflake"] |
| keywordCase | string | one of ["upper","lower","preserve"] |
{
"name": "sql_format",
"description": "Pretty-print SQL.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"indent": {
"enum": [
"2",
"4"
],
"type": "string",
"default": "2"
},
"dialect": {
"enum": [
"sql",
"postgresql",
"mysql",
"sqlite",
"bigquery",
"tsql",
"mariadb",
"plsql",
"db2",
"redshift",
"snowflake"
],
"type": "string",
"default": "sql"
},
"keywordCase": {
"enum": [
"upper",
"lower",
"preserve"
],
"type": "string",
"default": "upper"
}
}
}
}Pretty-print HTML.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| indent | string | one of ["2","4"] |
| printWidth | integer |
{
"name": "html_format",
"description": "Pretty-print HTML.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"indent": {
"enum": [
"2",
"4"
],
"type": "string",
"default": "2"
},
"printWidth": {
"type": "integer",
"default": 80,
"maximum": 200,
"minimum": 20
}
}
}
}Pretty-print CSS.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| indent | string | one of ["2","4"] |
| printWidth | integer |
{
"name": "css_format",
"description": "Pretty-print CSS.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"indent": {
"enum": [
"2",
"4"
],
"type": "string",
"default": "2"
},
"printWidth": {
"type": "integer",
"default": 80,
"maximum": 200,
"minimum": 20
}
}
}
}Pretty-print JavaScript / TypeScript with Prettier.
| Parameter | Type | Description |
|---|---|---|
| semi | boolean | |
| input * | string | |
| indent | string | one of ["2","4"] |
| parser | string | one of ["babel","babel-ts","typescript"] |
| printWidth | integer | |
| singleQuote | boolean |
{
"name": "js_format",
"description": "Pretty-print JavaScript / TypeScript with Prettier.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"semi": {
"type": "boolean",
"default": true
},
"input": {
"type": "string"
},
"indent": {
"enum": [
"2",
"4"
],
"type": "string",
"default": "2"
},
"parser": {
"enum": [
"babel",
"babel-ts",
"typescript"
],
"type": "string",
"default": "babel"
},
"printWidth": {
"type": "integer",
"default": 80,
"maximum": 200,
"minimum": 20
},
"singleQuote": {
"type": "boolean",
"default": false
}
}
}
}Pretty-print YAML.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| indent | string | one of ["2","4"] |
| sortKeys | boolean | |
| lineWidth | integer |
{
"name": "yaml_format",
"description": "Pretty-print YAML.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"indent": {
"enum": [
"2",
"4"
],
"type": "string",
"default": "2"
},
"sortKeys": {
"type": "boolean",
"default": false
},
"lineWidth": {
"type": "integer",
"default": 80,
"maximum": 200,
"minimum": 20
}
}
}
}Explain a cron expression in plain English.
| Parameter | Type | Description |
|---|---|---|
| expression * | string |
{
"name": "cron_explain",
"description": "Explain a cron expression in plain English.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"expression"
],
"properties": {
"expression": {
"type": "string"
}
}
}
}Redact secrets (API keys, tokens, passwords) from logs / config / env text.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "env_redact",
"description": "Redact secrets (API keys, tokens, passwords) from logs / config / env text.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Parse CSV text into fields + preview rows with delimiter detection.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| delimiter | string | one of ["auto",",",";","\t","|"] |
| previewRows | integer |
{
"name": "csv_parse",
"description": "Parse CSV text into fields + preview rows with delimiter detection.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"delimiter": {
"enum": [
"auto",
",",
";",
"\t",
"|"
],
"type": "string",
"default": "auto"
},
"previewRows": {
"type": "integer",
"default": 50,
"maximum": 500,
"minimum": 1
}
}
}
}Sort CSV rows by one column (alpha or numeric).
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["alpha","numeric"] |
| input * | string | |
| column * | string | |
| delimiter | string | |
| direction | string | one of ["asc","desc"] |
{
"name": "csv_sort",
"description": "Sort CSV rows by one column (alpha or numeric).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input",
"column"
],
"properties": {
"mode": {
"enum": [
"alpha",
"numeric"
],
"type": "string",
"default": "alpha"
},
"input": {
"type": "string"
},
"column": {
"type": "string"
},
"delimiter": {
"type": "string"
},
"direction": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc"
}
}
}
}Filter CSV rows by a column predicate (equals / contains / regex / gt / gte / lt / lte / not-empty).
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["equals","contains","regex","gt","gte","lt","lte","not-empty"] |
| input * | string | |
| value | string | |
| column * | string | |
| caseSensitive | boolean |
{
"name": "csv_filter",
"description": "Filter CSV rows by a column predicate (equals / contains / regex / gt / gte / lt / lte / not-empty).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input",
"column"
],
"properties": {
"mode": {
"enum": [
"equals",
"contains",
"regex",
"gt",
"gte",
"lt",
"lte",
"not-empty"
],
"type": "string",
"default": "equals"
},
"input": {
"type": "string"
},
"value": {
"type": "string",
"default": ""
},
"column": {
"type": "string"
},
"caseSensitive": {
"type": "boolean",
"default": false
}
}
}
}Split a CSV into N chunks or into files of N rows each.
| Parameter | Type | Description |
|---|---|---|
| mode | string | one of ["byChunks","byRows"] |
| input * | string | |
| chunks | integer | Used when mode=byChunks. |
| rowsPerChunk | integer | Used when mode=byRows. |
{
"name": "csv_split",
"description": "Split a CSV into N chunks or into files of N rows each.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"mode": {
"enum": [
"byChunks",
"byRows"
],
"type": "string",
"default": "byChunks"
},
"input": {
"type": "string"
},
"chunks": {
"type": "integer",
"default": 2,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Used when mode=byChunks."
},
"rowsPerChunk": {
"type": "integer",
"default": 100,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Used when mode=byRows."
}
}
}
}Compute per-column summary statistics (count, min, max, mean, median) over a CSV.
| Parameter | Type | Description |
|---|---|---|
| input * | string |
{
"name": "csv_statistics",
"description": "Compute per-column summary statistics (count, min, max, mean, median) over a CSV.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
}
}
}
}Diff two texts and return part-level changes plus a unified string.
| Parameter | Type | Description |
|---|---|---|
| left * | string | |
| mode | string | one of ["lines","words"] |
| right * | string |
{
"name": "text_diff",
"description": "Diff two texts and return part-level changes plus a unified string.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"left",
"right"
],
"properties": {
"left": {
"type": "string"
},
"mode": {
"enum": [
"lines",
"words"
],
"type": "string",
"default": "words"
},
"right": {
"type": "string"
}
}
}
}Normalize Markdown (list markers, trailing whitespace, blank lines).
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| listMarker | string | one of ["-","*","+"] |
| trimTrailing | boolean | |
| collapseBlankLines | boolean |
{
"name": "markdown_format",
"description": "Normalize Markdown (list markers, trailing whitespace, blank lines).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"listMarker": {
"enum": [
"-",
"*",
"+"
],
"type": "string",
"default": "-"
},
"trimTrailing": {
"type": "boolean",
"default": true
},
"collapseBlankLines": {
"type": "boolean",
"default": true
}
}
}
}Convert Markdown to HTML.
| Parameter | Type | Description |
|---|---|---|
| gfm | boolean | |
| input * | string | |
| breaks | boolean |
{
"name": "markdown_to_html",
"description": "Convert Markdown to HTML.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"gfm": {
"type": "boolean",
"default": true
},
"input": {
"type": "string"
},
"breaks": {
"type": "boolean",
"default": false
}
}
}
}Render Markdown to an HTML preview fragment with word/char counts.
| Parameter | Type | Description |
|---|---|---|
| gfm | boolean | |
| input * | string | |
| breaks | boolean |
{
"name": "markdown_preview",
"description": "Render Markdown to an HTML preview fragment with word/char counts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"gfm": {
"type": "boolean",
"default": true
},
"input": {
"type": "string"
},
"breaks": {
"type": "boolean",
"default": false
}
}
}
}Generate a URL slug from a string.
| Parameter | Type | Description |
|---|---|---|
| input * | string | |
| lowercase | boolean | |
| maxLength | integer | 0 = no limit. |
| separator | string | one of ["-","_"] |
| stripAccents | boolean | |
| collapseRepeats | boolean |
{
"name": "slug_generate",
"description": "Generate a URL slug from a string.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "string"
},
"lowercase": {
"type": "boolean",
"default": true
},
"maxLength": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "0 = no limit."
},
"separator": {
"enum": [
"-",
"_"
],
"type": "string",
"default": "-"
},
"stripAccents": {
"type": "boolean",
"default": true
},
"collapseRepeats": {
"type": "boolean",
"default": true
}
}
}
}Generate <title>, description, Open Graph and Twitter Card tags for a page.
| Parameter | Type | Description |
|---|---|---|
| url | string | |
| type | string | one of ["website","article","product"] |
| title * | string | |
| author | string | |
| locale | string | |
| imageUrl | string | |
| siteName | string | |
| canonical | string | |
| description * | string | |
| twitterHandle | string |
{
"name": "meta_tags_generate",
"description": "Generate <title>, description, Open Graph and Twitter Card tags for a page.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title",
"description"
],
"properties": {
"url": {
"type": "string",
"default": ""
},
"type": {
"enum": [
"website",
"article",
"product"
],
"type": "string",
"default": "website"
},
"title": {
"type": "string"
},
"author": {
"type": "string",
"default": ""
},
"locale": {
"type": "string",
"default": "en_US"
},
"imageUrl": {
"type": "string",
"default": ""
},
"siteName": {
"type": "string",
"default": ""
},
"canonical": {
"type": "string",
"default": ""
},
"description": {
"type": "string"
},
"twitterHandle": {
"type": "string",
"default": ""
}
}
}
}Build an Open Graph preview metadata bundle (title / description / domain truncation).
| Parameter | Type | Description |
|---|---|---|
| url | string | |
| title * | string | |
| imageUrl | string | |
| siteName | string | |
| description * | string |
{
"name": "og_preview_build",
"description": "Build an Open Graph preview metadata bundle (title / description / domain truncation).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title",
"description"
],
"properties": {
"url": {
"type": "string",
"default": ""
},
"title": {
"type": "string"
},
"imageUrl": {
"type": "string",
"default": ""
},
"siteName": {
"type": "string",
"default": ""
},
"description": {
"type": "string"
}
}
}
}Convert a HEX color into RGB / HSL / HSV / CSS forms.
| Parameter | Type | Description |
|---|---|---|
| hex * | string | HEX color, with or without leading #. |
{
"name": "color_convert",
"description": "Convert a HEX color into RGB / HSL / HSV / CSS forms.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"hex"
],
"properties": {
"hex": {
"type": "string",
"description": "HEX color, with or without leading #."
}
}
}
}Build a CSS linear-gradient string from color stops + angle.
| Parameter | Type | Description |
|---|---|---|
| angle | number | Degrees; 0 = top-to-bottom. |
| stops * | array |
{
"name": "css_gradient_build",
"description": "Build a CSS linear-gradient string from color stops + angle.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"stops"
],
"properties": {
"angle": {
"type": "number",
"default": 90,
"description": "Degrees; 0 = top-to-bottom."
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"color",
"position"
],
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"minItems": 2
}
}
}
}Build a CSS border-radius value from four corner radii in px.
| Parameter | Type | Description |
|---|---|---|
| bl | number | |
| br | number | |
| tl | number | |
| tr | number |
{
"name": "css_border_radius_build",
"description": "Build a CSS border-radius value from four corner radii in px.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"bl": {
"type": "number",
"default": 0
},
"br": {
"type": "number",
"default": 0
},
"tl": {
"type": "number",
"default": 0
},
"tr": {
"type": "number",
"default": 0
}
}
}
}Build a CSS box-shadow value from one or more layers.
| Parameter | Type | Description |
|---|---|---|
| layers * | array |
{
"name": "css_box_shadow_build",
"description": "Build a CSS box-shadow value from one or more layers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"layers"
],
"properties": {
"layers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"blur": {
"type": "number",
"default": 4
},
"color": {
"type": "string",
"default": "#000000"
},
"inset": {
"type": "boolean",
"default": false
},
"spread": {
"type": "number",
"default": 0
},
"offsetX": {
"type": "number",
"default": 0
},
"offsetY": {
"type": "number",
"default": 2
},
"opacity": {
"type": "number",
"default": 0.1,
"maximum": 1,
"minimum": 0
}
}
},
"minItems": 1
}
}
}
}Compute the WCAG contrast ratio between two colors and the AA/AAA verdict.
| Parameter | Type | Description |
|---|---|---|
| background * | string | |
| foreground * | string |
{
"name": "css_contrast_check",
"description": "Compute the WCAG contrast ratio between two colors and the AA/AAA verdict.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"foreground",
"background"
],
"properties": {
"background": {
"type": "string"
},
"foreground": {
"type": "string"
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.