addedOutput schema / properties / activation
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "goal": {
+ "const": "optimize_vehicle",
+ "type": "string"
+ },
+ "missingData": {
+ "items": {
+ "enum": [
+ "vehicle",
+ "accessible_vehicle_id",
+ "baseline_setup",
+ "driving_session",
+ "vehicle_build_state",
+ "vehicle_logs",
+ "structured_vehicle_modifications"
+ ],
+ "type": "string"
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ "nextActions": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "arguments": {
+ "additionalProperties": false,
+ "properties": {
+ "vehicleId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "vehicleId"
+ ],
+ "type": "object"
+ },
+ "optional": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "requiredInputs": {
+ "items": {
+ "enum": [
+ "year",
+ "make",
+ "model",
+ "purpose",
+ "displacement",
+ "engineType",
+ "aspiration",
+ "cylindersOrRotors",
+ "fuel",
+ "fuelRating",
+ "setupName",
+ "setupDate",
+ "sessionDate",
+ "sessionFormat",
+ "modifications",
+ "category",
+ "system",
+ "status",
+ "brand",
+ "partName"
+ ],
+ "type": "string"
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ "tool": {
+ "enum": [
+ "create_vehicle",
+ "list_vehicles",
+ "get_vehicle_context",
+ "create_setup",
+ "create_session",
+ "update_vehicle",
+ "create_vehicle_modification"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "tool",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "select_vehicle",
+ "optimize_vehicle"
+ ],
+ "type": "string"
+ },
+ "optional": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "assistant",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "action",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "recommendedData": {
+ "items": {
+ "enum": [
+ "vehicle",
+ "accessible_vehicle_id",
+ "baseline_setup",
+ "driving_session",
+ "vehicle_build_state",
+ "vehicle_logs",
+ "structured_vehicle_modifications"
+ ],
+ "type": "string"
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ "requestedVehicleId": {
+ "type": "string"
+ },
+ "stage": {
+ "enum": [
+ "empty_garage",
+ "select_vehicle",
+ "vehicle_selected",
+ "vehicle_created",
+ "collecting_baseline_data",
+ "ready_to_optimize"
+ ],
+ "type": "string"
+ },
+ "vehicleId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "goal",
+ "stage",
+ "missingData",
+ "recommendedData",
+ "nextActions"
+ ],
+ "type": "object"
+}