POST /wp-json/moaiagent/v1/chat for an AI Agent loop (Phase 2).moaiagent/create-post) – Creates a new post. Permission: edit_posts.moaiagent/get-site-url) – Returns the site URL. Permission: read.moaiagent/generate-post-summary) – AI-generated summary of content. Requires AI Client. Permission: edit_posts.POST /wp-json/moaiagent/v1/chat with body { "message": "Create a draft post titled Welcome" }. Permission: prompt_ai. Rate limited (e.g. 30 requests per minute per user).window.moaiaAgentAbilities.getAbilities() – list AI Agent abilitieswindow.moaiaAgentAbilities.execute('moaiagent/create-post', { title: 'Hello', status: 'draft' }) – returns a PromiseAbilities are also available via Command Palette, AI Client (using_abilities), and REST.
prompt_ai capability.This plugin integrates with the AI Client for WordPress plugin, which connects to external AI model APIs (such as Anthropic Claude or Google Gemini) to process chat messages and generate text content.
What data is sent: User chat messages, system context (site name, URL, user role, optional post title/ID), and conversation history are sent to the configured AI provider when the /chat REST endpoint is called.
When it is sent: Only when a logged-in user with the prompt_ai capability submits a message via the AI Agent chat interface or REST API.
Third-party services used (via AI Client plugin):
* Anthropic Claude — https://www.anthropic.com/
* Terms of Service: https://www.anthropic.com/legal/consumer-terms
* Privacy Policy: https://www.anthropic.com/legal/privacy
* Google Gemini — https://ai.google.dev/
* Terms of Service: https://ai.google.dev/gemini-api/terms
* Privacy Policy: https://policies.google.com/privacy
No data is sent without an active user session and explicit user action. No data is stored by this plugin beyond the execution log (stored locally in wp_options).