{
  "functions": [
    {
      "id": "AI_LOCAL",
      "name": "AI_LOCAL",
      "description": "Calls a local LLM (via LM Studio) and returns the response. Usage: =AI_LOCAL(\"prompt\") or =AI_LOCAL(\"prompt\", \"model-name\")",
      "helpUrl": "https://127.0.0.1:1235/",
      "parameters": [
        {
          "name": "prompt",
          "description": "The text prompt to send to the LLM",
          "type": "string",
          "dimensionality": "scalar"
        },
        {
          "name": "model",
          "description": "Optional: model name (default: gemma-4-e4b)",
          "type": "string",
          "dimensionality": "scalar",
          "optional": true
        }
      ],
      "result": {
        "type": "string",
        "dimensionality": "scalar"
      }
    },
    {
      "id": "AI_FAST",
      "name": "AI_FAST",
      "description": "Quick shortcut for =AI_LOCAL() with a smaller/faster model. Usage: =AI_FAST(\"prompt\")",
      "helpUrl": "https://127.0.0.1:1235/",
      "parameters": [
        {
          "name": "prompt",
          "description": "The text prompt to send to the LLM",
          "type": "string",
          "dimensionality": "scalar"
        }
      ],
      "result": {
        "type": "string",
        "dimensionality": "scalar"
      }
    }
  ]
}
