{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/extcord-io/json-schema/extcord-io-pipeline-body-schema.json",
  "title": "PipelineBody",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/extcord-io-openapi.json#/components/schemas/PipelineBody",
  "properties": {
    "steps": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Steps"
    },
    "return": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Return",
      "description": "Ref to return, e.g. \"$2\" or \"$prices[0]\". Defaults to the last step."
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "default": false
    },
    "inline_max_tokens": {
      "type": "integer",
      "maximum": 20000.0,
      "minimum": 0.0,
      "title": "Inline Max Tokens",
      "default": 300
    },
    "terse": {
      "type": "boolean",
      "title": "Terse",
      "description": "Return just the answer: the value if small, else a handle with a short preview. No hashes, hints or step reports.",
      "default": false
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "steps"
  ]
}