Aider · JSON Structure

Aider Cli Shell Request Structure

ShellRequest schema from Aider CLI

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

ShellRequest 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

command add_output_to_chat

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-shell-request-structure.json",
  "name": "ShellRequest",
  "description": "ShellRequest schema from Aider CLI",
  "type": "object",
  "properties": {
    "command": {
      "type": "string",
      "description": "Shell command line to execute in the repo root.",
      "example": "pytest -x tests/"
    },
    "add_output_to_chat": {
      "type": "boolean",
      "description": "Whether the command's stdout/stderr is appended to chat context.",
      "default": true,
      "example": true
    }
  },
  "required": [
    "command"
  ]
}