Aider · Schema

AskResponse

AskResponse schema from Aider CLI

AIAI Pair ProgrammingDeveloper ToolsCLICommand LineCoding AssistantCode GenerationOpen SourcePythonApache 2.0LLMGitBYO LLMTerminalPolyglotTree SitterRepository MapPair Programming

Properties

Name Type Description
answer string Markdown answer from the LLM. No files are modified.
files_referenced array Files the LLM cited in its answer.
View JSON Schema on GitHub

JSON Schema

aider-cli-ask-response-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-ask-response-schema.json",
  "title": "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"
      ]
    }
  }
}