publish_listing
Publish a real offer or wanted post publicly only when the owner requested publication. Requires listings:write.
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": {
"title": "<title>",
"description": "<description>",
"city": "<city>",
"category": "<category>",
"price": "<price>"
},
"name": "publish_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| kind | No | ||
| price | Yes | ||
| title | Yes | ||
| category | Yes | ||
| condition | No | ||
| image_ids | No | ||
| description | Yes | ||
| neighborhood | No | ||
| idempotency_key | No | Reuse the same key and identical content on retries for 24 hours; changing content returns 409. |