{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/goyondo-run/json-schema/goyondo-run-agent-task-request-schema.json",
  "title": "AgentTaskRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/goyondo-run-api-openapi.json#/components/schemas/AgentTaskRequest",
  "type": "object",
  "required": [
    "capability"
  ],
  "properties": {
    "capability": {
      "type": "string",
      "enum": [
        "describe_capabilities",
        "get_schema",
        "list_trips",
        "get_trip",
        "create_trip",
        "update_trip",
        "regenerate_itinerary",
        "add_activity",
        "update_activity",
        "save_itinerary",
        "list_activities",
        "search_places",
        "get_trip_alerts",
        "delete_activity",
        "get_user_preferences",
        "list_itinerary_segments",
        "get_trip_document",
        "get_trip_expense_summary",
        "submit_group_preferences",
        "submit_group_inspiration",
        "get_group_board",
        "react_to_place",
        "update_place_candidate",
        "update_user_preferences",
        "create_group_trip",
        "list_group_trips",
        "delete_group_trip",
        "join_group_trip",
        "get_group_trip",
        "run_alignment",
        "get_alignment",
        "list_proposals",
        "approve_proposal",
        "reject_proposal",
        "get_edit_log",
        "set_user_preference",
        "get_preference_profile",
        "update_day_notes",
        "delete_trip",
        "get_share_link",
        "create_share_link",
        "disable_share_link",
        "list_fixed_plans",
        "add_fixed_plan",
        "update_fixed_plan",
        "delete_fixed_plan",
        "respond_to_alignment",
        "extend_alignment_rounds",
        "get_alignment_history",
        "get_inspiration",
        "list_community_itineraries",
        "get_community_itinerary"
      ],
      "description": "Capability name from GET /api/agent/capabilities"
    },
    "arguments": {
      "type": "object",
      "description": "Arguments for the selected capability. See capability input_schema for exact fields."
    }
  }
}