Skip to content

GetInfo

Returns plugin metadata. Called immediately after loading to verify compatibility.

When is this called?

Called before Initialize. Must not perform connection setup.

C# Override

public override GetInfoResponse GetInfo()
{
    return new GetInfoResponse
    {
        Name = "My Plugin",
        Vendor = "Your Company",
        Version = "1.0.0",
        ApiVersion = 1,
        Capabilities = DeriveCapabilities(),
    };
}

Request

This method takes no parameters.

Response

Field Type Required Description
name string ✅ Display name of the plugin.
vendor string Company or author name.
version string ✅ Plugin version (semver recommended).
apiVersion integer ✅ API version the plugin was built against. Currently 1.
capabilities array<string> ✅ List of method names this plugin supports (camelCase).
menus array<MenuItem> Menu items to add to the host application's UI.
hasSettings boolean If true, the host adds a Settings item to the plugin menu.

JSON

The SDK serializes these JSON bodies for you.

{}
{
  "name": "My Plugin",
  "vendor": "Your Company",
  "version": "1.0.0",
  "apiVersion": 1,
  "capabilities": ["getProjectVariables"],
  "menus": [],
  "hasSettings": false
}

JSON Schemas: Request · Response