Aider · Schema

AddFilesRequest

AddFilesRequest schema from Aider CLI

Artificial IntelligenceAI Pair ProgrammingDeveloper ToolsCLICommand LineCoding AssistantCode GenerationOpen-SourcePythonApache 2.0LLMGitBYO LLMTerminalPolyglotTree-sitterRepository MapPair Programming

Properties

Name Type Description
files array List of file paths relative to the Git working tree root.
read_only boolean When true, files are added as read-only references and excluded from edit targets.
View JSON Schema on GitHub

JSON Schema

aider-cli-add-files-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aider/refs/heads/main/json-schema/aider-cli-add-files-request-schema.json",
  "title": "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"
  ]
}