packages.search
Searches every catalog added in Lightair for packages, leaving out withdrawn versions.
JSON-RPC 2.0project.write
Parameters
- querystringWords in the id, name, summary, description or publisher.
- kindstringOnly this kind of content (
scriptis taken forextension). - catalogstringOnly this catalog, by name or address.
Result
- results{ id: string, name: string, kind: string, kinds: string[], catalog: string, catalog_url: string, lightair: boolean, version: string, summary: string, description: string, publisher: string, permissions: string[], optional_permissions: string[], full_access: boolean, installed: string | null }[]At most 50.
lightairsays whether the catalog is Lightair's own. - morebooleanWhether there were more.
From an AI agent
The MCP server's plugins (action: search) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "packages.search", "params": {}}lightair call packages.searchconst result = lightair.call("packages.search", {});