Skip to content

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.

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 ​

Grouplocal, on by default
TierCreate and build
Needsnone
Read onlyyes
Destructiveno
Idempotentyes
Reaches the open webyes

Inputs ​

InputTypeRequiredDefaultWhat it does
action"list" | "source"no"list"list searches; source reads one template's files.
slugstringnosource: the template, e.g. 'content-react'.
filesarray of stringnosource: paths to read; omit for the listing.
querystringnolist: keywords or a natural phrase.
surface"content" | "sidebar" | "newtab" | "background"nolist: surface; for a popup use query:'action'.
framework"react" | "vue" | "svelte" | "preact" | ""nolist: UI framework; empty string is vanilla.
tagsarray of stringnolist: tags, e.g. ['ai'].
featuredbooleannolist: featured only.
includearray of "details" | "urls"nolist: details adds tags, difficulty, featured, useCases; urls adds repositoryUrl, catalogUrl, downloads.
offsetintegernolist: 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.