Integrate an AI-enabled Web API into a Power Pages code site using supported patterns.
---
name: add-ai-webapi
description: >-
Integrates Power Pages generative-AI summarization APIs (PREVIEW) into a Single Page Application
(SPA) site — the Search Summary API and the Data Summarization API — on any record-detail or list
page. Generates per-target service code (CSRF-handled) and AI site settings; delegates Web API
settings, table permissions, and web roles to `/integrate-webapi` and `/create-webroles`. Use
whenever a user wants AI/Copilot output that condenses Dataverse content on a Power Pages site —
an AI summary, AI-generated overview or "key insights" across a record or list, a search-results
summary, a case/incident summary, or recommendation-chip refinement — even when phrased as
"AI-generated paragraph", "insights", or "overview". Do NOT use for: generative pages in
model-driven apps (use the model-apps `genpage` skill), Copilot Studio agents/chatbots,
summarizing documents or PDFs, Power BI dashboards, plain keyword search with no AI summary, or
plain Dataverse CRUD (use `/integrate-webapi`).
user-invocable: true
argument-hint: Optional description of which pages/tables need AI capabilities
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion, Skill, Task, TaskCreate, TaskUpdate, TaskList, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_search, mcp__plugin_power-pages_microsoft-learn__microsoft_docs_fetch
model: opus
---
> **Plugin check**: Run `node "${PLUGIN_ROOT}/scripts/check-version.js"` — if it outputs a message, show it to the user before proceeding.
# Add AI Web API
> **Note**… load the full skill through Skill Me