> ## Documentation Index
> Fetch the complete documentation index at: https://docs.asksimon.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Publishing

> Manage WordPress content.

### WordPress Create Post `wordpress_create_post`

Create a new WordPress post, saved as a draft by default so you can review before publishing. Describe the post and Simon drafts it.

| Parameter              | Type        |
| ---------------------- | ----------- |
| `content` **required** | `string`    |
| `title` **required**   | `string`    |
| `categories` *opt*     | `integer[]` |
| `excerpt` *opt*        | `string`    |
| `featured_media` *opt* | `integer`   |
| `status` *opt*         | `string`    |
| `tags` *opt*           | `integer[]` |

### WordPress Get Post `wordpress_get_post`

Retrieve a WordPress post by its ID, including its full content and details. Ask Simon to pull a specific post and it returns everything about it.

| Parameter              | Type      |
| ---------------------- | --------- |
| `post_id` **required** | `integer` |

### WordPress List Comments `wordpress_list_comments`

List comments on your WordPress site, optionally filtered by post or status, for moderation and engagement tracking. Ask Simon to show recent comments and it returns them.

| Parameter        | Type      |
| ---------------- | --------- |
| `page` *opt*     | `integer` |
| `per_page` *opt* | `integer` |
| `post_id` *opt*  | `integer` |
| `status` *opt*   | `string`  |

### WordPress List Posts `wordpress_list_posts`

Find WordPress posts with filters like search term, status, author, category, or tag. Ask Simon to list matching posts and it returns them.

| Parameter          | Type        |
| ------------------ | ----------- |
| `author` *opt*     | `integer`   |
| `categories` *opt* | `integer[]` |
| `order` *opt*      | `string`    |
| `orderby` *opt*    | `string`    |
| `page` *opt*       | `integer`   |
| `per_page` *opt*   | `integer`   |
| `search` *opt*     | `string`    |
| `status` *opt*     | `string`    |
| `tags` *opt*       | `integer[]` |

### WordPress Moderate Comment `wordpress_moderate_comment`

Approve, hold, mark as spam, or trash a WordPress comment. Ask Simon to moderate a comment and it updates its status.

| Parameter                 | Type      |
| ------------------------- | --------- |
| `comment_id` **required** | `integer` |
| `status` **required**     | `string`  |

### WordPress Site Info `wordpress_get_site_info`

Get information about your connected WordPress site and what your account is allowed to do. Simon uses this to confirm the connection and available permissions.

*No parameters.*

### WordPress Update Post `wordpress_update_post`

Update an existing WordPress post, changing only the fields you specify. Describe the edit and Simon applies it.

| Parameter              | Type        |
| ---------------------- | ----------- |
| `post_id` **required** | `integer`   |
| `categories` *opt*     | `integer[]` |
| `content` *opt*        | `string`    |
| `excerpt` *opt*        | `string`    |
| `featured_media` *opt* | `integer`   |
| `status` *opt*         | `string`    |
| `tags` *opt*           | `integer[]` |
| `title` *opt*          | `string`    |
