Aider · JSON Structure

Aider Cli Chat Mode Request Structure

ChatModeRequest schema from Aider CLI

Type: object Properties: 1 Required: 1
AIAI Pair ProgrammingDeveloper ToolsCLICommand LineCoding AssistantCode GenerationOpen SourcePythonApache 2.0LLMGitBYO LLMTerminalPolyglotTree SitterRepository MapPair Programming

ChatModeRequest is a JSON Structure definition published by Aider, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

mode

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aider/refs/heads/main/json-structure/aider-cli-chat-mode-request-structure.json",
  "name": "ChatModeRequest",
  "description": "ChatModeRequest schema from Aider CLI",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "Chat mode to switch to.",
      "enum": [
        "code",
        "architect",
        "ask",
        "help",
        "context"
      ],
      "example": "architect"
    }
  },
  "required": [
    "mode"
  ]
}