Create a card
lob_cards_createCreate a printed card insert (e.g., business card, gift card) for letters by uploading front and optional back content.
Instructions
Upload a card — a small printed insert (e.g. business card, plastic gift card) that can be inserted with a letter.
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": {
"front": "<front>"
},
"name": "lob_cards_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| back | No | Back content source. | |
| size | No | Card size per Lob docs. | |
| extra | No | Additional Lob API parameters not enumerated above. Merged into the request body verbatim. See https://docs.lob.com for the full parameter list per resource. | |
| front | Yes | Front content source. | |
| metadata | No | Up to 20 string key/value pairs of arbitrary metadata to attach to the resource. | |
| description | No |