Get Lob design spec
lob_design_specs_getRetrieve design specifications including dimensions, bleed, and safe area for any Lob mail-piece variant before generating artwork to ensure compliance with auto-stamped address blocks.
Instructions
Return the design specification (dimensions, bleed, safe area, no-print zones, file requirements) for a Lob mail-piece variant. Call this BEFORE generating artwork so the design respects Lob's auto-stamped address blocks. Same data is also available as MCP resources at lob://specs/{mail_type}/{variant}.json.
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": {
"mail_type": "<mail_type>",
"variant": "<variant>"
},
"name": "lob_design_specs_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | Yes | Variant identifier within the mail_type. For postcards: 4x6, 6x9, 6x11. For letters: standard_no10, flat_9x12, legal_8.5x14, custom_envelope. For self-mailers: 6x18_bifold, 11x9_bifold. For checks: standard. For buckslip / card: standard. | |
| mail_type | Yes | Mail-piece category. |