create_listing
Publish a NEW listing on behalf of the user across any of the 4 verticals and 12 roles. Use it only when the user clearly asks to post something — sell or rent out an item or home, advertise a job, publish a CV, offer or request a service. Do not use it to change an existing listing (update_listing, update_listing_images, set_listing_status) or to look for listings (search_listings). Recommended order: get_entitlements → resolve the address to coordinates → optionally request_image_upload and upload each photo → create_listing. location must be coordinates ({ lat, lon }) — a free-text address is not accepted, so geocode it first. Publishing needs a free listing slot and may consume credits (included listings cost none); get_entitlements reports the slots, credit cost and balance. A reached limit makes this return an ACTIVE_LISTING_LIMIT_REACHED error carrying a pay_url. Held for AI moderation (status starts "pending"); any credits spent are refunded if rejected, EXCEPT for prohibited or spam content, which forfeits the credit. To attach photos, first call request_image_upload for each image, upload the bytes, and pass the returned keys in images — a key with no uploaded file fails with image_not_uploaded, and every image is AI-moderated with the text before going live. Requires the user to be connected to Teppek: an anonymous call returns an AUTH_REQUIRED error with an authorize_url — surface "Connect with Teppek" to the user, then retry.
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": {
"vertical": "<vertical>",
"role": "<role>",
"title": "<title>",
"price": "<price>",
"currency": "<currency>",
"location": "<location>"
},
"name": "create_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The listing role — this alone fixes supply vs demand (do not send intent_type). vehicle_letter = you OWN the vehicle and are renting it OUT (lessor); for a user who WANTS to rent a vehicle use vehicle_renter. Likewise estate_landlord (renting out) vs estate_renter (wants to rent), estate_seller vs estate_buyer, career_employer (posting a job) vs career_seeker (a CV), service_pro (offering) vs service_client (wants a service). | |
| price | Yes | Asking price as a plain number in `currency`, with no separators. For a job, use the salary figure and put the range in details.salary_min and details.salary_max. Example: 950. | |
| title | Yes | Short headline of the listing, 3-200 characters. Example: "Two-bedroom flat near the river". | |
| images | No | Up to 6 image keys returned by request_image_upload, uploaded before this call. Example: ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]. | |
| details | No | Vertical-specific attributes. 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: transaction_type (sale|rent|hire), 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: transaction_type (sale|rent|hire), 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). Example: { "brand": "Toyota", "model": "Corolla", "vehicle_model_year": 2021, "vehicle_mileage_km": 40000, "fuel": "hybrid", "gear": "manual", "body": "sedan", "features": ["rear_camera", "navigation"] }. | |
| currency | Yes | ISO-4217 currency code matching the listing country (e.g. USD, EUR, GBP, TRY). Required — there is no default, to avoid silently mislabeling non-Turkish listings. | |
| location | Yes | Listing coordinates as { lat, lon }. A free-text address is NOT accepted — resolve it to coordinates before calling. Example: { "lat": 48.85, "lon": 2.35 }. | |
| vertical | Yes | Listing category, which must match the role: career (jobs and CVs), real_estate, vehicle or service. Example: "vehicle". | |
| description | No | Full listing text, up to 5000 characters. Facts that fit a `details` key belong in details as well. Example: "Bright flat on the third floor, five minutes from the metro." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||