# WordPress Abilities for the chatbot and the Help Center

> The abilities WPBot registers with the WordPress Abilities API (WordPress 6.9 and later), who may use them, and how AI assistants reach them through the WordPress MCP Adapter.

Source: https://www.wpbot.pro/help/dev-wordpress-abilities/  
Section: Developers › REST API and MCP  
Updated: 2026-11-26

On WordPress 6.9 and later, WPBot registers **abilities**: named actions with a description, an input schema and a permission check. WordPress's MCP Adapter plugin, when you install it, offers them to AI assistants, and your own code can run them. On older WordPress versions nothing is registered.

WPBot does not bundle the MCP Adapter. For the Help Center you can also use WPBot's own MCP server, which needs no extra plugin: see [Help Center MCP server: let AI assistants write your docs](/help/dev-help-center-mcp-server/).

## Chatbot abilities

Category `wpbot-chatbot`. Abilities are marked public for MCP.

| Ability | Reads or writes | What it does | Who may use it |
| --- | --- | --- | --- |
| `wpbot-chatbot/search-knowledge` | reads | Finds what the chatbot knows about a question: titles, links, sections and text (`query`, `limit` up to 20) | Train: view |
| `wpbot-chatbot/list-sessions` | reads | Recent conversations: when, how many messages, AI cost, and the first question with personal data removed (`limit` up to 50) | Train: publish |
| `wpbot-chatbot/get-session` | reads | The messages of one conversation, with personal data removed (`session_id`) | Train: publish |
| `wpbot-chatbot/list-knowledge-gaps` | reads | Questions the chatbot could not answer, most asked first (`status`, `limit`) | Train: view |
| `wpbot-chatbot/list-actions` | reads | The AI Actions the chatbot can run, with their fields | Train: view |
| `wpbot-chatbot/get-settings` | reads | Which provider and model answer, and whether the knowledge base, citations and safe answers are on. Never API keys | Train: view |
| `wpbot-chatbot/get-usage` | reads | AI answers and estimated cost this month | Train: view |
| `wpbot-chatbot/add-knowledge` | writes | Adds an entry the chatbot answers from (`title`, `content`) | Train: use |
| `wpbot-chatbot/answer-gap` | writes | Answers a question the chatbot could not answer (`gap_id`, `answer`) | Train: use |
| `wpbot-chatbot/run-action` | writes | Runs an AI Action with the given answers: saves the entry, sends its email and webhook (`action`, `data`) | Train: use |

"Train: view / use / publish" are the levels of the **ChatBot: Train and AI tools** section in **WPBot Pro → Permissions**: the capabilities `wpbot_chatbot_train_view`, `wpbot_chatbot_train_use` and `wpbot_chatbot_train_publish`. Whole conversations need the publish level, so not everyone who may look at Train can read transcripts.

**Safety built in:**

- `add-knowledge` and `answer-gap` do not change anything at once. They wait in **ChatBot → Train → Changes**  for the owner's approval and can be undone.
- Every write counts against a rate limit, and running an Action is logged.

## Help Center abilities

Category `wpbot-help-center`. They are the Help Center's MCP tools under ability names:

| Ability | MCP tool |
| --- | --- |
| `wpbot-help-center/get-structure` | `helpcenter_get_structure` |
| `wpbot-help-center/search` | `helpcenter_search` |
| `wpbot-help-center/get-article` | `helpcenter_get_article` |
| `wpbot-help-center/upsert-knowledge-base` | `helpcenter_upsert_knowledge_base` |
| `wpbot-help-center/upsert-category` | `helpcenter_upsert_category` |
| `wpbot-help-center/upsert-article` | `helpcenter_upsert_article` |
| `wpbot-help-center/set-order` | `helpcenter_set_order` |
| `wpbot-help-center/list-gaps` | `helpcenter_list_gaps` |
| `wpbot-help-center/propose-unpublish` | `helpcenter_propose_unpublish` |
| `wpbot-help-center/get-changes` | `helpcenter_get_changes` |

They check the same rights as the MCP tools (editing help articles, managing their categories) and follow the same review rules. They are registered only while the Help Center is on.

## Add your own chatbot ability

The filter `qcld_wpbot_chat/abilities` adds abilities to the chatbot's category. Each entry is `name => [ label, description, input (JSON schema), execute (callable), permission (callable), readonly (bool) ]`:

```
add_filter( 'qcld_wpbot_chat/abilities', function ( array $abilities ) {
	$abilities['opening-hours'] = array(
		'label'       => 'Read opening hours',
		'description' => 'Today\'s opening hours of the shop.',
		'input'       => array( 'type' => 'object', 'properties' => new stdClass() ),
		'execute'     => function () {
			return array( 'hours' => '9:00-17:00' );
		},
		'permission'  => function () {
			return current_user_can( 'wpbot_chatbot_train_view' );
		},
		'readonly'    => true,
	);
	return $abilities;
} );
```

It is registered as `wpbot-chatbot/opening-hours`.

## Availability

In every edition, including WPBot Free, on WordPress 6.9 or later. The Help Center abilities need the Help Center turned on in **AI / Settings → Help Center**.
