Add editor note
wp_create_noteAdd an editor note to a block of a post (WordPress 6.9 or later), as shown in the editor's Notes panel. Locate the block with anchor_text (a short exact snippet of its text) or block_index, or reply to an existing note with parent_id.
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": {
"content": "<content>"
},
"name": "wp_create_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The note text. | |
| post_id | No | The post to annotate. Not needed for a reply. | |
| parent_id | No | Reply to this note instead of starting a new thread. | |
| anchor_text | No | A short exact snippet of text from the block the note is about. The first block containing it is used. | |
| block_index | No | Alternative to anchor_text: 0-based position among the top-level blocks. |