Aider · JSON Structure

Aider Cli Ask Response Structure

AskResponse schema from Aider CLI

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

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

Properties

answer files_referenced

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-ask-response-structure.json",
  "name": "AskResponse",
  "description": "AskResponse schema from Aider CLI",
  "type": "object",
  "properties": {
    "answer": {
      "type": "string",
      "description": "Markdown answer from the LLM. No files are modified.",
      "example": "The retry policy in `src/http/retry.py` wraps the rate limiter from `src/http/limiter.py` ..."
    },
    "files_referenced": {
      "type": "array",
      "description": "Files the LLM cited in its answer.",
      "items": {
        "type": "string",
        "example": "src/http/retry.py"
      },
      "example": [
        "src/http/retry.py",
        "src/http/limiter.py"
      ]
    }
  }
}