update_listing
Edit fields (title, description, price, currency, location, details) on one of the USER'S OWN listings, identified by listing_id. Use it when the user wants to correct or change an existing listing — "drop the price to 900", "fix the typo in the title", "the flat now has 3 rooms". Do not use it for photos (update_listing_images), for marking sold or hiding (set_listing_status), for extending the expiry (renew_listing), or to change vertical/intent_type/role — those are fixed, so publish a new listing instead. Only the owner can edit. Editing is free (no credit charge). Price/currency-only edits stay live; changing the title, description, location or details re-triggers AI moderation: the listing returns to 'pending' and is offline until cleared — tell the user this before editing a live listing. Returns { success, listing } with the updated listing and its new status.
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": {
"listing_id": "<listing_id>"
},
"name": "update_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | New asking price as a plain number. To change a salary range use details.salary_min and details.salary_max. Example: 950. | |
| title | No | New headline, 3-200 characters. Returns the listing to "pending". Example: "Two-bedroom flat near the river". | |
| details | No | Vertical-specific attributes to change; keys you leave out keep their current value. Only these keys for the listing's vertical are accepted, with these values; an unknown key or a value outside the listed options is rejected with an error, never dropped. They use the same keys and values as the teppek.com listing form, so the listing shows up under the same map filters. career: organization_name (text), salary_min (number), salary_max (number), empType (one of full_time|part_time|contract|internship|freelance|seasonal), workMode (one of onsite|hybrid|remote), level (one of intern|junior|mid|senior|lead|manager|director), experience (one of none|1-3|4-6|7-10|10+), education (one of any|high_school|associate|bachelor|master), sector (text), skills (text), languages (text). real_estate: property_room_count (text), m2_gross (number), propType (one of apartment|house|land|commercial|other), areaNet (number), buildingAge (one of 0|1-5|6-10|11-20|21+), heating (one of combi|central|ac|floor|stove|none), furnished (one of yes|no), amenities (list of ac|builtin|fireplace|balcony|terrace|ensuite|dressing|steel_door|shutter|storage|accessible|pet_ok), nearby (list of hospital|metro|bus|school|university|mall|coast|park|central), deposit (number), dues (number), floor_number (number), is_student_friendly (boolean), is_credit_eligible (boolean), tapu_status (text). vehicle: brand (text), model (text), vehicle_model_year (number), vehicle_mileage_km (number), body (one of sedan|hatchback|suv|wagon|coupe|truck|van|minivan|convertible|other), fuel (one of petrol|diesel|lpg|electric|hybrid), gear (one of manual|automatic), condition (one of new|used), seller (one of private|dealer|owner), features (list of sunroof|leather_seat|rear_camera|park_sensor|blind_spot|heated_seat|navigation|adaptive_cruise|cruise_control|abs_esp|lane_assist|led_headlight|keyless|auto_ac|power_windows), color (text), damage_status (text), daily_price (number), deposit (number). service: service_category (text), place (one of onsite|online|both), availability (one of same_day|appointment|weekday|weekend|24_7, offering side only), pricingType (one of hourly|fixed|after_survey|project|negotiable, offering side only), radius (one of 5|10|25|50|citywide, offering side only), exp (one of 1-3|4-9|10+, offering side only), features (list of free_survey|material_included|insured|contract|referenced|emergency|certified|guaranteed, offering side only). Any details edit returns the listing to "pending", so it goes offline until AI moderation clears it. Example: { "m2_gross": 90, "furnished": "yes" }. | |
| currency | No | New ISO-4217 currency code. Example: "EUR". | |
| location | No | New listing coordinates { lat, lon }. Moving a listing re-triggers AI moderation — it returns to "pending" until cleared. Example: { "lat": 48.85, "lon": 2.35 }. | |
| listing_id | Yes | Listing id, taken from the `id` field of search_listings, search_listings_by_meaning or list_my_listings results. Example: "adzuna-us-5947308680". | |
| description | No | New full listing text, up to 5000 characters. Returns the listing to "pending". Example: "Bright flat on the third floor, five minutes from the metro." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listing | Yes | ||
| success | Yes |