publish_draft
Publishes a prepared finn.no draft after duplicate checks and validation, requiring explicit confirmation so ads go live only after user approval.
Instructions
Publish a draft on finn.no. PUBLIC.
Flow: duplicate check (local + finn.no account) -> push as private draft
-> finn.no validation -> only with confirm=true: publish.
Call with confirm=true ONLY after the user saw the preview and said yes in chat.
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": {
"draft_id": "<draft_id>"
},
"name": "publish_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| draft_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||