Who am I (yekar.wordpress.me) | Read | The WordPress user this connection acts as - id, display name, username, and roles. The roles are the permission ceiling for every other tool; call this to verify the connection works and see what it may do. |
List posts (yekar.wordpress.list-posts) | Read | The site's posts - title, status, dates, excerpt, category/tag ids (no content; use Get post for that). Filter by search text, status, category, tag, author, or date range; paginate for more. total/totalPages come from the site's own count. |
Get post (yekar.wordpress.get-post) | Read | One post with its full HTML content (capped at ~60k chars with a truncated flag), title, status, dates, excerpt, and category/tag ids. Pass raw: true to get the raw editor content for round-trip editing. |
List pages (yekar.wordpress.list-pages) | Read | The site's pages - title, status, dates, excerpt, parent id for hierarchy (no content; use Get page for that). Filter by search text, status, or parent; paginate for more. total/totalPages come from the site's own count. |
Get page (yekar.wordpress.get-page) | Read | One page with its full HTML content (capped at ~60k chars with a truncated flag), title, status, dates, and parent id. Pass raw: true to get the raw editor content for round-trip editing. |
List categories (yekar.wordpress.list-categories) | Read | The site's categories - id, name, slug, post count, parent id. The ids are what List posts filters by and what create/update-post attach. Search by name; paginate for more. |
List tags (yekar.wordpress.list-tags) | Read | The site's tags - id, name, slug, post count. The ids are what List posts filters by and what create/update-post attach. Search by name; paginate for more. |
List comments (yekar.wordpress.list-comments) | Read | Comments, newest first - author, status, plain-text content, and the post they belong to. Filter by post, status (the moderation queue is status: hold), or search text; paginate for more. |
List media (yekar.wordpress.list-media) | Read | The site's media library - id, title, type, MIME type, and source URL, for referencing existing media from post content (uploading new media is not supported yet). Search or filter by type; paginate for more. |
Search site (yekar.wordpress.search) | Read | Search across the site's posts and pages at once - id, title, URL, and whether each hit is a post or a page. Use Get post / Get page with the returned id for the content. |
Create post (yekar.wordpress.create-post) | Write | Create a post authored as the connected user. Defaults to a DRAFT - pass status: publish to go live, or a future date to schedule. Content is HTML; categories/tags attach by term id. |
Update post (yekar.wordpress.update-post) | Write | Edit a post's title, content, excerpt, slug, status (publish/unpublish), date, categories, or tags - omitted fields keep their value, but categories and tags REPLACE the whole set when passed. |
Delete post (yekar.wordpress.delete-post) | Write | Move a post to the trash (restorable from wp-admin). Pass force: true to delete it permanently instead - that is irreversible. Trashing an already-trashed post is a conflict. |
Create page (yekar.wordpress.create-page) | Write | Create a page authored as the connected user. Defaults to a DRAFT - pass status: publish to go live. Content is HTML; parent places it in the page hierarchy. |
Update page (yekar.wordpress.update-page) | Write | Edit a page's title, content, slug, status (publish/unpublish), date, or parent - omitted fields keep their value. |
Create category (yekar.wordpress.create-category) | Write | Create a category (requires the connected user's manage-terms capability, typically Administrator/Editor). If the name already exists, the conflict error carries the existing term's id - use that id instead of retrying. |
Create tag (yekar.wordpress.create-tag) | Write | Create a tag (requires the connected user's manage-terms capability, typically Administrator/Editor). If the name already exists, the conflict error carries the existing term's id - use that id instead of retrying. |
Create comment (yekar.wordpress.create-comment) | Write | Post a comment on a post as the connected user - top-level, or a threaded reply via parent. Re-running posts a second comment. |
Moderate comment (yekar.wordpress.moderate-comment) | Write | Set a comment's moderation status to an absolute value: approve, hold, spam, or trash. Requires the connected user's moderation capability (typically Editor+). |