placepack_list_presets
Return named PlacePack size presets with labels, specs, and default formats.
Parameters
No parameters.
Raw schema
{
"type": "object",
"properties": {}
}by placepack
Generate deterministic placeholder image URLs and packs for docs, staging, testing, and AI agents.
Generate deterministic placeholder image URLs and packs for docs, staging, testing, and AI agents.
Captured live from the server via tools/list.
Return named PlacePack size presets with labels, specs, and default formats.
Parameters
No parameters.
{
"type": "object",
"properties": {}
}Validate one size spec and return an embeddable PlacePack image URL, filename, Markdown, and HTML.
| spec | string | required | Size spec such as 800x600.svg, hero:1600x900, or thumb:420x247@2x. |
| format | string | optional | |
| bgColor | string | optional | Background hex color, with or without #. |
| textColor | string | optional | Label hex color, with or without #. |
| padding | number | optional | |
| strokeWidth | number | optional | |
| template | string | optional | Label template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}. |
{
"type": "object",
"properties": {
"spec": {
"type": "string",
"minLength": 1,
"description": "Size spec such as 800x600.svg, hero:1600x900, or thumb:420x247@2x."
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"webp"
]
},
"bgColor": {
"description": "Background hex color, with or without #.",
"type": "string"
},
"textColor": {
"description": "Label hex color, with or without #.",
"type": "string"
},
"padding": {
"type": "number",
"minimum": 0,
"maximum": 200
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 20
},
"template": {
"description": "Label template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}.",
"type": "string"
}
},
"required": [
"spec"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Validate multiple size specs or one preset and return a manifest of generated PlacePack image URLs. Optionally inline a small SVG ZIP as base64.
| sizes | string | optional | Newline-separated size specs. |
| preset | string | optional | Preset key such as og, developers, automation, or favicon. |
| format | string | optional | |
| bgColor | string | optional | Background hex color, with or without #. |
| textColor | string | optional | Label hex color, with or without #. |
| padding | number | optional | |
| strokeWidth | number | optional | |
| template | string | optional | Label template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}. |
| inlineZip | boolean | optional | Return a base64 ZIP for SVG packs with at most 10 files. |
{
"type": "object",
"properties": {
"sizes": {
"description": "Newline-separated size specs.",
"type": "string"
},
"preset": {
"description": "Preset key such as og, developers, automation, or favicon.",
"type": "string"
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"webp"
]
},
"bgColor": {
"description": "Background hex color, with or without #.",
"type": "string"
},
"textColor": {
"description": "Label hex color, with or without #.",
"type": "string"
},
"padding": {
"type": "number",
"minimum": 0,
"maximum": 200
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 20
},
"template": {
"description": "Label template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}.",
"type": "string"
},
"inlineZip": {
"description": "Return a base64 ZIP for SVG packs with at most 10 files.",
"type": "boolean"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}README not available yet.
claude_desktop_config.json
{
"mcpServers": {
"placepack": {
"command": "npx",
"args": [
"-y",
"@martintoz/placepack-mcp@0.1.1"
]
}
}
}