The manifest decides whether the agent picks your plugin when it should. Every plugin declares a manifest of type PluginManifest. It is not human documentation. It is structured metadata the LLM reads. This page shows where the runtime uses it, what each field is for, and how to write one that works.
Where the runtime uses it
The runtime uses the manifest in three ways:
- The Tier-1 prompt block: the "Available Capabilities" list rendered for
alwaysplugins on every turn. list_capabilities: the meta-tool the agent calls to enumerate what it can load.load_capability: the meta-tool that returns a manifest in full when the agent activates a plugin mid-conversation.
On the Workers runtime (@ixo/oracle-runtime-workers 0.39.0 and later) it is used in two more ways: the one-line on-demand catalogue in the system prompt (from brief), and the capability router, which reads summary and whenToUse to decide which plugins a message needs. See Meta-tools and loading.
Tier-1 plugins pay a token cost on every turn, and not only for the summary. Each entry also renders whenToUse, whenNotToUse, and the first example as sub-bullets, so manifest length is prompt length. on-demand plugins cost nothing in the prompt until the agent loads them (on the Workers runtime, from 0.39.0, one short catalogue line each). silent plugins are never listed in Tier-1 and can't be loaded through the meta-tools. A silent plugin's tools, if it ships any, are still bound and callable: silent is not a security boundary.
What each field is for
| Field | Purpose |
|---|---|
title | Human-readable label. Distinct from name (kebab-case unique ID). |
summary | One-line description. Heads each Tier-1 entry for always plugins as - **{name}** — {summary}. |
whenToUse | Trigger phrases. The most important field: its quality determines whether the LLM picks the plugin when it should. Required when visibility !== 'silent'. The first two render into Tier-1 as a When to use: sub-bullet. On the Workers runtime the capability router reads every line, with the summary, to decide whether to preload the plugin. |
whenNotToUse | Anti-pattern phrases. Use them to tell your plugin apart from overlapping plugins. The first renders into Tier-1 as an Avoid for: sub-bullet. |
examples | Few-shot user-message → tool-call bindings. Cross-checked at boot: every example's tool must reference a tool this plugin registers. The first renders into Tier-1 as an Example: sub-bullet. |
tags | Lowercase labels for search. |
category | One of: data, communication, automation, memory, integration, ui, auth, observability, core. |
visibility | always / on-demand / silent. See Visibility tiers. |
stability | stable / beta / experimental. Shown to the agent as a hint. |
requires | Cloudflare Workers runtime only. User-controlled Authorization Network (UCAN) capabilities the user's delegation must grant before the plugin can be loaded or its tools run. See requires. |
brief | Workers runtime 0.39.0 and later. A few words (at most 60 characters) on what load_capability adds: the plugin's line in the on-demand catalogue. Falls back to a clipped summary. See brief. |
onDemandTools | Workers runtime 0.39.0 and later. Tools kept out of the tool list until load_capability names the plugin, while the rest of the plugin stays as its visibility says. See onDemandTools. |
routable | Workers runtime 0.39.0 and later. false keeps the capability router from preloading the plugin; it can still be loaded. See routable. |
The full schema table and validation rules are in the Manifest schema reference.
Writing a good manifest
- Be specific in
whenToUse. "Weather questions" is too vague. "User asks about current weather, temperature, precipitation, or wind in any city" is precise. Name what the plugin does, because the capability router decides from these lines and thesummary. - On the Workers runtime, give an
on-demandplugin abrief. It is what the model reads about the plugin in the catalogue when it decides whether to load it. - Use
whenNotToUseto tell plugins apart when yours overlaps with another (Firecrawl vs Sandbox vs Domain Indexer is the canonical case). - Make the examples cover the typical patterns, not only the obvious one.
- Keep
tagslowercase. They're for search ranking, not display. - Pick
visibilitydeliberately. Default toon-demand, and promote toalwaysonly when the agent needs the plugin on nearly every turn.
The manifest is the part of your plugin the LLM reads most. Treat it like a system prompt: write it carefully, test it with real user messages, and iterate. A vague manifest is the most common reason a plugin doesn't fire when it should.
Source: PluginManifest.