extension_templates
Browse the template catalog or read a template's files.
Quick start
Which templates have a side panel? Show me the source of the best one
Asked what to start from, the agent lists the templates by surface and names the command.
How the agent uses it
TypeScript is slug 'typescript', shadcn 'sidebar-shadcn'; AI templates tag 'ai'.
Reference
| Group | local, on by default |
| Tier | Create and build |
| Needs | none |
| Read only | yes |
| Destructive | no |
| Idempotent | yes |
| Reaches the open web | yes |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
action | "list" | "source" | no | "list" | list searches; source reads one template's files. |
slug | string | no | source: the template, e.g. 'content-react'. | |
files | array of string | no | source: paths to read; omit for the listing. | |
query | string | no | list: keywords or a natural phrase. | |
surface | "content" | "sidebar" | "newtab" | "background" | no | list: surface; for a popup use query:'action'. | |
framework | "react" | "vue" | "svelte" | "preact" | "" | no | list: UI framework; empty string is vanilla. | |
tags | array of string | no | list: tags, e.g. ['ai']. | |
featured | boolean | no | list: featured only. |
When it fails
- The answer depends on the network. This tool reaches the open web, so a refusal can be the network, not the project.
Next
- MCP server: install, the two groups and the session gates
- Install in your client
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.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.