|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIO. - OpenRouter AI > AIO Commands |
MiniRobotLanguage (MRL)
AIO.SetPlugins
Enables OpenRouter plugins for extended AI capabilities such as web search, PDF processing, and automatic JSON repair. This command configures which plugins are active for subsequent AI operations.
AIO.SetPlugins|$$JSON
$$JSON
Type: JSON Array
JSON array containing plugin configuration objects. Each object must include an "id" property specifying the plugin to enable.
The following plugins are available for use with AIO.SetPlugins:
web - Web Search - Provides real-time web search capabilities, allowing the AI to access current information from the internet.
file-parser - File Parser - Enables processing of PDF and text files, extracting content for analysis and processing.
response-healing - Response Healing - Automatically repairs malformed JSON responses, improving reliability of structured data outputs.
To enable web search and file parsing capabilities:
AIO.SetPlugins|[{"id":"web"},{"id":"file-parser"}]
After executing this command, subsequent AI operations will have access to real-time web search and PDF/text file processing.
AIO.GetPlugins - Retrieves the list of currently enabled plugins
AIO.ClearPlugins - Disables all active plugins
AIO.Configure - General configuration for AIO operations
Plugin configurations are active for the duration of the session or until modified by another AIO.SetPlugins call. Multiple plugins can be enabled simultaneously by including multiple objects in the JSON array.