publish_draft
Publish a saved draft by confirming the action and matching its title when multiple drafts exist. Optionally set visibility or keep the draft's current setting.
Instructions
임시저장 글을 불러와서 발행한다. confirm=True 를 명시해야 동작한다.
글쓰기 화면은 임시저장 글을 자동 복구하지 않으므로 목록에서 명시적으로 불러온다. title 은 부분 일치도 되지만, 여러 글과 맞으면 거부한다. 비워두면 임시저장이 정확히 1건일 때만 동작한다 — 발행은 되돌리기 어려우니 대상을 사람이 정하게 한다.
visibility: public | neighbor | both_neighbor | private. 비우면 글에 이미 설정된 값을 그대로 쓴다.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| confirm | No | ||
| visibility | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |