Publish ads
kleinanzeigen_publish_adsPublishes local ad files to Kleinanzeigen, writes each new ad ID back to the file, and can republish existing ads to push them up.
Instructions
Publishes local ads on Kleinanzeigen so everybody can see them. New ads get an id, which is written back into the ad file. republish: true re-posts ads that are already online (new id, the old ad is deleted) to push them up. To change an online ad in place use kleinanzeigen_update_online_ads. This can take a few minutes.
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": {
"ads": "<ads>"
},
"name": "kleinanzeigen_publish_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | Yes | Names of local ads (see kleinanzeigen_list_local_ads). | |
| confirm | No | Only needed when the client cannot show a confirmation dialog: set to true after the user explicitly approved this action. | |
| republish | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ads | No | ||
| errors | Yes | Warning and error lines from the bot. | |
| summary | No | The bot's "DONE: …" line. | |
| log_tail | Yes | Last lines of the bot log. | |
| exit_code | Yes |