extension_add_feature
Plan the surface before adding an options page, a popup, a side panel, a content script, a devtools panel, a new tab page or a background script.
Quick start
Add an options page to this extension
Asked to add an options page, the agent plans the surface, writes it, validates the manifest and proves it in a dev session.
How the agent uses it
It answers manifest additions, files and template and changes nothing; then validate the manifest and run extension_dev.
Reference
| Group | local, on by default |
| Tier | Create and build |
| Needs | none |
| Read only | yes |
| Destructive | no |
| Idempotent | yes |
| Reaches the open web | no |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
projectPath | string | yes | Extension project root | |
feature | "sidebar" | "popup" | "options" | "content-script" | "background" | "newtab" | "devtools" | yes | Surface to add | |
framework | "react" | "vue" | "svelte" | "preact" | "vanilla" | no | "react" | UI framework. |
Next
- MCP server: install, the two groups and the session gates
- Install in your client
extension_build: Build the extension on this machine into dist/<browser>/; never for sharing (extension_builds).extension_create: Create an extension project from a template (extension_templates); it may init git.extension_docs_search: Find the docs page to cite before answering about a WebExtension API, a manifest key, a permission or a browser difference.extension_templates: Browse the template catalog or read a template's files.