Code Example
Below is a simple manifest file; each field is explained in the Structure section that follows. For a real-world example, see the Google tool plugin manifest.Structure
version
required
Plugin version.
string
required
Plugin type. Currently only
plugin is supported; bundle support is planned.string
required
Author, defined as the organization name in the Marketplace.
object
required
Multilingual name.
RFC3339
required
Creation time. The Marketplace requires this to be no later than the current time.
string
required
Icon path.
object
Resources the plugin requests.
int64
Maximum memory usage in bytes. Mainly relates to AWS Lambda resource allocation on Dify Cloud.
object
Permissions the plugin requests.
object
Permission for reverse invocation of models.
boolean
Whether to enable model permissions.
boolean
Whether to enable large language model permissions.
boolean
Whether to enable text embedding model permissions.
boolean
Whether to enable rerank model permissions.
boolean
Whether to enable text-to-speech model permissions.
boolean
Whether to enable speech-to-text model permissions.
boolean
Whether to enable content moderation model permissions.
object
required
Lists the YAML files for the capabilities the plugin extends, as absolute paths within the plugin package. For example, to extend a model, define a file such as
openai.yaml and list its path here. The file must exist at that path, or packaging fails.array[string]
Plugin extension for Agent Strategy providers.
object
required
Metadata for the plugin.
version
required
Manifest format version. The initial version is
0.0.1.array[string]
required
Supported architectures. Currently only
amd64 and arm64 are supported.string
Relative path or URL of the plugin’s privacy policy, for example
"./privacy.md" or "https://your-web/privacy". Required for listing on the Dify Marketplace, where plugins must clearly state how they use user data. For details, see the Plugin Privacy Data Protection Guidelines.