Aider · JSON Structure

Aider Cli Add Files Request Structure

AddFilesRequest schema from Aider CLI

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

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

Properties

files read_only

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-add-files-request-structure.json",
  "name": "AddFilesRequest",
  "description": "AddFilesRequest schema from Aider CLI",
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "description": "List of file paths relative to the Git working tree root.",
      "items": {
        "type": "string",
        "example": "src/main.py"
      },
      "example": [
        "src/main.py",
        "tests/test_main.py"
      ]
    },
    "read_only": {
      "type": "boolean",
      "description": "When true, files are added as read-only references and excluded from edit targets.",
      "default": false,
      "example": false
    }
  },
  "required": [
    "files"
  ]
}