{
  "name": "com.acme.legacy.export_report",
  "kind": "command",
  "title": "Export report",
  "description": "Call the old report service.",
  "inputSchema": {
    "type": "object",
    "required": [
      "period"
    ],
    "properties": {
      "period": {
        "type": "string",
        "pattern": "^[0-9]{4}-[0-9]{2}$"
      }
    },
    "additionalProperties": false
  },
  "risk": "read",
  "privacy": "internal",
  "physical": false,
  "callers": [
    "human",
    "ai"
  ],
  "native": {
    "protocol": "http",
    "target": "http://localhost:8080",
    "request": {
      "method": "POST",
      "path": "/export",
      "body": {
        "period": "{{arguments.period}}"
      }
    },
    "timeoutMs": 2000
  }
}
