PlacePack

v0.1.2
top.placepack/placepack Checked 3 days ago Published 4 months ago

Generate deterministic placeholder image URLs and packs for docs, staging, testing, and AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

placepack_list_presets List PlacePack presets

Return named PlacePack size presets with labels, specs, and default formats.

placepack_create_image Create a PlacePack image URL

Validate one size spec and return an embeddable PlacePack image URL, filename, Markdown, and HTML.

ParameterTypeDescription
spec *stringSize spec such as 800x600.svg, hero:1600x900, or thumb:420x247@2x.
bgColorstringBackground hex color, with or without #.
formatstring
paddingnumber
strokeWidthnumber
templatestringLabel template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}.
textColorstringLabel hex color, with or without #.

placepack_create_pack Create a PlacePack image pack manifest

Validate multiple size specs or one preset and return a manifest of generated PlacePack image URLs. Optionally inline a small SVG ZIP as base64.

ParameterTypeDescription
bgColorstringBackground hex color, with or without #.
formatstring
inlineZipbooleanReturn a base64 ZIP for SVG packs with at most 10 files.
paddingnumber
presetstringPreset key such as og, developers, automation, or favicon.
sizesstringNewline-separated size specs.
strokeWidthnumber
templatestringLabel template. Tokens: {alias}, {w}, {h}, {ratio}, {index}, {bg}, {color}.
textColorstringLabel hex color, with or without #.