extension_templates_read
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
Answers slugs with surfaces and framework, or file contents; extension_create makes a project from one, extension_feature_plan plans a surface in an existing project, extension_project_create puts a folder on extension.dev. Slugs: 'javascript' (plain), '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. | |
include | array of "details" | "urls" | no | list: details adds tags, difficulty, featured, useCases; urls adds repositoryUrl, catalogUrl, downloads. | |
offset | integer | no | list: a cut answer's nextOffset. |
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 three groups and the session gates
- Install in your client
extension_build: Build an extension into dist/<browser>/ on this machine, one browser a call.extension_create: Create a new extension from a template (extension_templates_read), plain JavaScript too; it may init git.extension_docs_search: Search the Extension.js and extension.dev docs (free) for a WebExtension API, a manifest key, a permission or a browser difference.extension_feature_plan: 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.