Add a listing photo
attach_deal_photoUsed by the SlabLineage photo panel: saves a photo the user took as the listing photo of a Deal Desk purchase. side front replaces the front photo (a back photo already saved is kept); side back adds a back photo after the current front photo.
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": {
"dealId": "<dealId>",
"side": "<side>",
"imageBase64": "<imageBase64>",
"mimeType": "<mimeType>"
},
"name": "attach_deal_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | front or back of the card. | |
| dealId | Yes | The dealId from record_purchase or prepare_listing. | |
| mimeType | Yes | The photo's type. | |
| imageBase64 | Yes | The photo as base64 data (7 MB at most). |