AIG. - AI Google Gemini Integration

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands >

AIG. - AI Google Gemini Integration

AIG. Commands Overview

Top Next


MiniRobotLanguage (MRL)

 

AIG. Commands
Overview of Google Gemini API Integration Commands

 

The AIG. Command set provides a complete interface to Google's Generative AI models, including Gemini 3.0, 2.5, 2.0 and Imagen 3.

Note: The robot ignores spaces and capitalization in command names.

 

Command Structure:

 

AIG. (Google Gemini API)

+-- 1. Key Management

��  +-- AIG.Set Key (sky)

��  +-- AIG.Get Key (gea)

��  +-- AIG.Save Key (svk)

+-- 2. Configuration (Connection & Endpoint)

��  +-- AIG.Set Api Version (sav)

��  +-- AIG.Set Base Url (sbu)

��  +-- AIG.Set Endpoint (sep)

��  +-- AIG.Get Endpoint (gep)

+-- 3. Configuration (Model, Context & Reasoning)

��  +-- AIG.Set Model (smd)

��  +-- AIG.Get Model (gmd)

��  +-- AIG.Set System Prompt (ssp)

��  +-- AIG.Get System Prompt (gsp)

��  +-- AIG.Set Thinking (stk)

��  +-- AIG.Get Thinking (gtk)

+-- 4. Configuration (Generation Parameters)

��  +-- AIG.Set Max Token (smt) / Get Max Token (gmt)

��  +-- AIG.Set Temp (ste) / Get Temp (gte)

��  +-- AIG.Set Top P (stp) / Get Top P (gtp)

��  +-- AIG.Set Stop (sst) / Get Stop (gst)

��  +-- AIG.Set Safety (sss) / Get Safety (gss)

��  +-- AIG.Set Resp Fmt (srf) / Get Resp Fmt (grf)

+-- 5. Configuration User, File & Clipboard

�    Managing file output, clipboard integration, and user context.

��  +-- AIG.Set User (sus) / Get User (gus)

��  +-- AIG.Set Save (ssf) / Get Save (gsf)

��  +-- AIG.Set Clip (scb) / Get Clip (gcb)

��  +-- AIG.Set Seed (ssd) / Get Seed (gsd)

+-- 6. Core Operations

��  +-- AIG.Ask - Send Prompt (Text/Chat)

��  +-- AIG.Ask Vision - Send Multimodal Prompt (Image/Audio)

��  +-- AIG.Gen Img (gen) - Generate Image (Imagen 3)

��  +-- AIG.List Models (lsm) - List available models

+-- 7. Helpers

��  +-- AIG.File To Base64 (f2b) - Convert file

��  +-- AIG.Fix Umlaut (fiu) - Fix encoding issues

��  +-- AIG.Generate Unique Filename (guf)

+-- 8. Results & Analysis

��  +-- AIG.Get Content (gct) - Main text

��  +-- AIG.Get Fin Rsn (gfr) - Stop reason

��  +-- AIG.Get Tokens (gtk) - Token usage

��  +-- AIG.Get Word Count (gwc)

��  +-- AIG.Is Func Call (gif)

��  +-- AIG.Get Raw Return (grr) - JSON dump

+-- 9. Computer Use Commands

�    High-level automation (Find & Click).

��  +-- AIG.Computer Use (cpu) - Find UI elements

��  +-- AIG.Set CU Options (scu) - Config

+-- A. Tools-Configuration

�    Defining, Mapping, and Executing custom functions.

��  +-- AIG.Set Tools From Array (stfa) - Easy setup

��  +-- AIG.Map Tool Handler (mth) - Link label

��  +-- AIG.Do Tool Call (dtc) - Execute

��  +-- AIG.Clear Tools (clt) - Wipe all

��  +-- AIG.Clear Tool Map (ctm) - Wipe map

��  +-- AIG.Get Tool Name (gtn)

��  +-- AIG.Get Tool Param (gtprm)

��  +-- AIG.Get Tool Params To Arr (gtpa)

��  +-- AIG.Set Tools (stl) - Manual JSON

��  +-- AIG.Get Tools (gtl)

��  +-- AIG.Set Tool Choice (stc)

��  +-- AIG.Get Tool Choice (gtc)

+-- B. Debugging and Errorhandling

�   +-- AIG.Get Error (ger)

�   +-- AIG.Get Error History (geh)

�   +-- AIG.Clear Error (cer)