ブログ記事作成
create_entryCreates a new Hatena Blog entry as a draft by default; set draft to false to publish, or combine draft=true with a future updated date and scheduled=true to queue a scheduled post.
Instructions
ブログ記事を新規作成する。既定では下書きとして作成されるので、公開する場合は draft を false にする。予約投稿する場合は draft=true・scheduled=true と、未来日時の updated を指定する。
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>",
"content": "<content>"
},
"name": "create_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | 下書きとして保存するか(既定: true) | |
| title | Yes | タイトル | |
| content | Yes | 本文。ブログの編集モードに合わせた記法で書く | |
| updated | No | 投稿日時(ISO 8601、例: 2026-08-26T15:30:00+09:00)。省略時は現在時刻 | |
| scheduled | No | 予約投稿にするか。draft=true かつ updated が未来日時のときに有効 | |
| categories | No | カテゴリ名の配列。既存のカテゴリは list_categories で確認できる | |
| custom_url | No | カスタム URL(記事 URL のスラッグ部分) | |
| content_type | No | 本文の記法。実際の解釈はブログの編集モード設定に従うため、ブログ側の設定と揃えること(既定: text/x-markdown) | |
| preview_shared | No | 下書きのプレビュー共有 URL を発行するか |