create_draft
Creates a local draft ad with processed photos, price, and category, ready for final review before publishing to finn.no.
Instructions
Create a LOCAL draft ad (nothing is sent to finn.no yet).
Photos are auto-rotated, stripped of EXIF/GPS and resized; the first
photo is the cover. category = numeric LEAF id (e.g. "43" Bærbar PC;
use suggest_category after push_draft if unsure). condition: 1=Helt ny
2=Som ny 3=Pent brukt 4=Godt brukt 5=Må fikses. trade_type: 1=Til salgs.
Price is in whole NOK.
PRICE POLICY: if the user named a price, use exactly that. Otherwise call
suggest_price first and use its `suggested_price` (market median), and
tell the user which comparables it is based on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| title | Yes | ||
| category | No | ||
| condition | No | ||
| attributes | No | ||
| trade_type | No | 1 | |
| description | Yes | ||
| photo_paths | Yes | ||
| postal_code | No | ||
| photo_captions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||