plugin.json reference

The manifest sits at the root of the plugin folder. Paths in it are relative to that folder and cannot leave it.

Fields

FieldTypeNotes
id requiredstringpublisher.name: lowercase letters, digits, dashes. The publisher part is your publisher name on this site.
name requiredstringUp to 40 characters.
version requiredsemverMust match the git tag you publish (v1.2.0 for 1.2.0).
aistudio requiredrangeThe plugin API it needs, as a semver range. Today: ^1.1 (API 1.1.0, which added panel tools); ^1.0 still works for plugins without panelTools.
about requiredstringOne sentence, up to 200 characters. Shown in the directory and the app.
authorobject{ name, url }: who makes the plugin, with an https link to them (your product or company site). Shown as "by name" in the directory and the app. Without it, your publisher name is shown.
repositoryurlThe https address of the plugin's source code, shown as a "Source code" link. Without it, the directory links the repository it builds from.
featuresstring[]Up to 6 phrases of 40 characters, about what people can do with it (not how it is built).
iconpathOne-colour SVG, drawn in the app's text colour (used on the panel's tab).
logopathFull-colour SVG or PNG, up to 200 KB, shown in the directory and the Plugins tab. SVGs with scripts, event handlers or embedded content are refused.
promptpathMarkdown added to the AI's instructions while the plugin is on. See Prompt.
skillspathA folder of skill folders. See Skills.
chatModesobject[]{ id, label, about, prompt }. See Chat modes.
mcpobject{ url } or { command, args, tokenEnv }. See MCP tools.
paneobject{ title, entry, side }, side is left or right. See Panels.
panelToolsobject[]{ name, description, inputSchema }: tools the AI calls in the panel, up to 20. Needs a pane, the panel:tools permission and "aistudio": "^1.1". See Panel tools.
authobject{ type: none | api-key | oauth | mcp-oauth, ... }. See Sign-in.
hooksobject{ publish: true }: the panel gets a publish event after each publish. See Events.
permissionsstring[]What the panel may do, and what the AI may do in it. See below.

Permissions

They gate the panel's bridge calls, and the AI's use of the panel. The user sees them in plain words before turning the plugin on, and again when an update asks for more (the plugin stays off until they agree).

PermissionAllows
project:readproject.listFiles, project.readFile (files up to 1 MB; never .git, .aistudio or .env*).
chat:sendchat.draft, chat.attach, chat.send.
mcp:callmcp.tools, mcp.call: the plugin's own MCP tools, from its panel.
preview:readpreview.screenshot of the app in the preview.
preview:controlpreview.navigate to a page of the app.
assets:writeassets.add: files into the project's Assets.
panel:toolsThe AI gets the tools listed in panelTools and calls them in the panel (tools.handle); the user sees it as "Let the AI use its panel (read and change what is in it)". See Panel tools.

No permission is needed for ready, storage, ui.*, log, the sign-in calls, or fetch to the hosts in auth.relay. The AI's use of MCP tools needs none either: tools are the point of an MCP server. Panel tools are different: they let the AI act in a page the user works in, so they need panel:tools.

A full example

{
  "id": "acme.tickets",
  "name": "Acme Tickets",
  "version": "1.4.0",
  "aistudio": "^1.0",
  "about": "Work on Acme tickets from the chat: pick one, the AI builds it and links the change.",
  "author": { "name": "Acme", "url": "https://acme.example" },
  "repository": "https://github.com/acme/aistudio-tickets",
  "features": ["Pick a ticket to build", "The AI updates the ticket", "Link each change to its ticket"],
  "icon": "icon.svg",
  "logo": "logo.svg",
  "prompt": "prompt.md",
  "skills": "skills",
  "auth": {
    "type": "oauth",
    "authorizeUrl": "https://acme.example/oauth/authorize",
    "tokenUrl": "https://acme.example/oauth/token",
    "clientId": "aistudio",
    "scopes": ["tickets:read", "tickets:write"],
    "relay": ["https://api.acme.example"]
  },
  "mcp": { "command": "node", "args": ["server/index.js"], "tokenEnv": "ACME_TOKEN" },
  "pane": { "title": "Tickets", "entry": "pane/index.html", "side": "right" },
  "chatModes": [{ "id": "triage", "label": "Triage", "about": "Sort new tickets, without changing code", "prompt": "modes/triage.md" }],
  "hooks": { "publish": true },
  "permissions": ["chat:send", "mcp:call", "preview:read"]
}