Documentation Index
Fetch the complete documentation index at: https://mintlify.com/felixdotgo/querybox/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Theinfo command returns basic metadata about the plugin. The host calls this command during plugin discovery at startup to catalog available plugins.
Command Invocation
InfoResponse object
Timeout: 2 seconds
Required: Yes - all plugins must implement this command
Response Structure
Plugin category. Currently only
DRIVER (value: 1) is supported.Human-readable plugin name (e.g., “MySQL”, “PostgreSQL”)
Semantic version string (e.g., “1.0.0”)
Brief description of the plugin’s purpose
Homepage, documentation, or repository URL
Maintainer or organization name
SPDX license identifier (e.g., “MIT”, “GPL-2.0”)
URL to a small icon image for the plugin
Array of feature flags. Recognized capabilities:
"explain-query": Plugin supports query execution plans viaoptions["explain-query"] = "yes""query": Plugin supports standard query execution
Categorization tags (e.g.,
["sql", "relational"])Maintainer email or contact URL
Free-form string-to-string map for arbitrary plugin-specific information
String-to-string map with hints for the host (e.g., default values)
Example Implementation
Fromplugins/mysql/main.go:
Response Format
The plugin must write a protobuf-JSON encoded response to stdout:Error Handling
- If the command fails, write error details to stderr and exit with non-zero status code
- The host will skip plugins that fail the
infoprobe during discovery - Errors do not prevent other plugins from loading
Notes
- The host caches
inforesults for the lifetime of the process - Changing plugin metadata requires restarting the application or clicking Rescan in the Plugins window
- Unknown fields in the response are ignored for forward compatibility