{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.hivelearn.app",
    "site": "hivelearn.app",
    "addresses": [
      {
        "address": "64.29.17.1",
        "endpoints": 402,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "64.29.17.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.198.79.1",
        "endpoints": 727,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.198.79.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "64.29.17.1",
          "216.198.79.1"
        ],
        "first_seen": "2026-11-22T21:27:03.755Z",
        "last_seen": "2026-11-22T21:27:03.755Z",
        "checks": 1
      },
      {
        "addresses": [
          "64.29.17.65",
          "216.198.79.65"
        ],
        "first_seen": "2026-11-21T17:35:02.671Z",
        "last_seen": "2026-11-21T17:35:02.671Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "hivelearn",
      "version": "0.3.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 794,
      "sample": [
        {
          "id": "6",
          "url": "https://ase.academy/mcp",
          "server_name": "academy.ase/periodic-system",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:32:00.942Z"
        },
        {
          "id": "24",
          "url": "https://genosys.ae/mcp",
          "server_name": "ae.genosys/genosys",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:32:01.851Z"
        },
        {
          "id": "54",
          "url": "https://state.1court.ai/api/mcp",
          "server_name": "ai.1court.state/court-directory",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:01.115Z"
        },
        {
          "id": "85",
          "url": "https://aeoengine.ai/mcp",
          "server_name": "ai.aeoengine/best-ai-search-agency-aeo-report",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:01.438Z"
        },
        {
          "id": "164",
          "url": "https://agentmash.ai/mcp",
          "server_name": "ai.agentmash/agentmash",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:02.056Z"
        },
        {
          "id": "170",
          "url": "https://agentsrank.ai/api/mcp",
          "server_name": "ai.agentsrank/agentsrank",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:02.171Z"
        },
        {
          "id": "263",
          "url": "https://artidrop.ai/mcp",
          "server_name": "ai.artidrop/artidrop",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:37:02.241Z"
        },
        {
          "id": "406",
          "url": "https://boltclaw.ai/docs/mcp-server",
          "server_name": "ai.boltclaw/docs",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.029Z"
        },
        {
          "id": "474",
          "url": "https://catalystproject.ai/mcp",
          "server_name": "ai.catalystproject/evidence-graph",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:43:01.835Z"
        },
        {
          "id": "484",
          "url": "https://centralcity.ai/mcp/open",
          "server_name": "ai.centralcity/central-city",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:43:02.212Z"
        },
        {
          "id": "767",
          "url": "https://emergenttechnologies.ai/mcp",
          "server_name": "ai.emergenttechnologies/emergent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:49:02.409Z"
        },
        {
          "id": "1206",
          "url": "https://ihumane.ai/mcp",
          "server_name": "ai.ihumane/ihumane",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:57:03.520Z"
        },
        {
          "id": "1256",
          "url": "https://jawz.ai/api/mcp",
          "server_name": "ai.jawz/jawz",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:00:08.107Z"
        },
        {
          "id": "1403",
          "url": "https://lifescenario.ai/api/mcp",
          "server_name": "ai.lifescenario/info",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:02:02.584Z"
        },
        {
          "id": "2450",
          "url": "https://stackrate.ai/mcp",
          "server_name": "ai.stackrate/comparisons",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:51:01.541Z"
        },
        {
          "id": "2467",
          "url": "https://stimhaus.ai/mcp",
          "server_name": "ai.stimhaus/emma-for-agents",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:51:02.072Z"
        },
        {
          "id": "2543",
          "url": "https://tazilo.ai/mcp",
          "server_name": "ai.tazilo/profiles",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:52:13.892Z"
        },
        {
          "id": "2885",
          "url": "https://whichagent.ai/api/categories/beauty/mcp",
          "server_name": "ai.whichagent/beauty",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:55:04.610Z"
        },
        {
          "id": "2886",
          "url": "https://whichagent.ai/api/categories/car-rental/mcp",
          "server_name": "ai.whichagent/car-rental",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:56:12.703Z"
        },
        {
          "id": "3027",
          "url": "https://agenturo.app/mcp",
          "server_name": "app.agenturo/agenturo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:57:03.554Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.williamechevarria",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/hivelearn/community-hub",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "40850",
    "server_name": "io.github.williamechevarria/hivelearn-mcp",
    "url": "https://mcp.hivelearn.app/",
    "host": "mcp.hivelearn.app",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T21:27:03.755Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "e90b7937d1da6fc132422f5b0b011e9ce0eef60b2626f4be6b7a58a217124928",
    "first_listed_at": "2026-11-21T17:35:02.671Z",
    "created_at": "2026-11-21T12:20:09.233Z",
    "resolved_addresses": [
      "64.29.17.1",
      "216.198.79.1"
    ]
  },
  "server": {
    "name": "io.github.williamechevarria/hivelearn-mcp",
    "title": "HiveLearn",
    "description": "Read and author HiveLearn courses, events, quizzes, certificates, resources, leaderboards, tracks.",
    "version": "0.4.0",
    "registry_status": "active",
    "repository_url": "https://github.com/hivelearn/community-hub",
    "website_url": "https://hivelearn.app/mcp",
    "published_at": "2026-09-21T16:29:30.634Z",
    "updated_at": "2026-09-21T16:29:30.634Z",
    "first_seen": "2026-11-21T12:20:08.985Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "sends-messages"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:53:14.204Z"
  },
  "operator": {
    "key": "hivelearn.app",
    "name": "hivelearn.app",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 608,
    "first_check_in_window": "2026-11-21T17:35:02.671Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "e90b7937d1da6fc132422f5b0b011e9ce0eef60b2626f4be6b7a58a217124928",
    "tools": 96,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T17:35:03.331Z",
    "tool_names": [
      "hivelearn_get_community_me",
      "hivelearn_list_members",
      "hivelearn_get_member",
      "hivelearn_update_member",
      "hivelearn_list_posts",
      "hivelearn_get_post",
      "hivelearn_create_post",
      "hivelearn_update_post",
      "hivelearn_list_events",
      "hivelearn_get_event",
      "hivelearn_create_event",
      "hivelearn_update_event",
      "hivelearn_list_courses",
      "hivelearn_get_course",
      "hivelearn_create_course",
      "hivelearn_update_course",
      "hivelearn_list_course_modules",
      "hivelearn_create_module",
      "hivelearn_update_module",
      "hivelearn_list_course_lessons",
      "hivelearn_create_lesson",
      "hivelearn_update_lesson",
      "hivelearn_create_course_outline",
      "hivelearn_update_lesson_content",
      "hivelearn_reorder_module_lessons",
      "hivelearn_publish_course",
      "hivelearn_get_course_structure",
      "hivelearn_list_quizzes",
      "hivelearn_get_quiz",
      "hivelearn_create_quiz",
      "hivelearn_update_quiz",
      "hivelearn_list_quiz_questions",
      "hivelearn_create_quiz_question",
      "hivelearn_update_quiz_question",
      "hivelearn_list_enrollments",
      "hivelearn_get_enrollment",
      "hivelearn_create_enrollment",
      "hivelearn_get_course_progress",
      "hivelearn_get_course_gradebook",
      "hivelearn_list_certificates",
      "hivelearn_get_certificate",
      "hivelearn_create_certificate",
      "hivelearn_update_certificate",
      "hivelearn_verify_certificate",
      "hivelearn_list_resources",
      "hivelearn_get_resource",
      "hivelearn_create_resource",
      "hivelearn_update_resource",
      "hivelearn_get_leaderboard",
      "hivelearn_get_member_points",
      "hivelearn_list_tracks",
      "hivelearn_get_track",
      "hivelearn_list_track_courses",
      "hivelearn_get_track_progress",
      "hivelearn_create_track",
      "hivelearn_update_track",
      "hivelearn_add_track_course",
      "hivelearn_get_ai_credits",
      "hivelearn_list_ai_jobs",
      "hivelearn_get_ai_job",
      "hivelearn_generate_ai_course",
      "hivelearn_list_event_attendees",
      "hivelearn_list_event_waitlist",
      "hivelearn_list_post_comments",
      "hivelearn_create_post_comment",
      "hivelearn_list_discussions",
      "hivelearn_get_discussion",
      "hivelearn_create_discussion",
      "hivelearn_list_discussion_replies",
      "hivelearn_create_discussion_reply",
      "hivelearn_get_analytics_summary",
      "hivelearn_get_course_analytics",
      "hivelearn_list_quiz_attempts",
      "hivelearn_list_assignment_submissions",
      "hivelearn_get_assignment_submission",
      "hivelearn_grade_assignment_submission",
      "hivelearn_list_resource_folders",
      "hivelearn_get_resource_folder",
      "hivelearn_create_resource_folder",
      "hivelearn_update_resource_folder",
      "hivelearn_list_question_banks",
      "hivelearn_get_question_bank",
      "hivelearn_create_question_bank",
      "hivelearn_update_question_bank",
      "hivelearn_list_question_bank_items",
      "hivelearn_create_question_bank_item",
      "hivelearn_update_question_bank_item",
      "hivelearn_list_member_notes",
      "hivelearn_create_member_note",
      "hivelearn_list_member_tags",
      "hivelearn_create_member_tag",
      "hivelearn_list_member_tag_assignments",
      "hivelearn_add_member_tag",
      "hivelearn_list_segments",
      "hivelearn_list_segment_members",
      "hivelearn_get_member_health"
    ],
    "declared": {
      "tools": [
        {
          "name": "hivelearn_get_community_me",
          "description": "Returns the community the current API key is scoped to. Use this first whenever you need the community_id, owner, slug, or tier — the API key determines tenancy, you cannot switch community.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          }
        },
        {
          "name": "hivelearn_list_members",
          "description": "List members of the authenticated community. Returns id (profile uuid), role, email, display_name, avatar_url, and joined_at. Filter by role to find admins/owners.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "role": {
                "enum": [
                  "owner",
                  "admin",
                  "moderator",
                  "member"
                ],
                "type": "string",
                "description": "Restrict to a single role"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_member",
          "description": "Fetch a single member by profile uuid. Returns the same fields as list_members for one row.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Profile uuid (matches the id from list_members)"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_member",
          "description": "Change a member's role or ban status. role accepts member/moderator/admin (owner cannot be assigned via the API). Set is_banned=true to ban, false to lift. At least one field required.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Profile uuid (matches the id from list_members)"
              },
              "role": {
                "enum": [
                  "member",
                  "moderator",
                  "admin"
                ],
                "type": "string"
              },
              "is_banned": {
                "type": "boolean"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_posts",
          "description": "List community feed posts, newest first. Use category to filter (e.g. \"announcements\"). Returns id, title, content, category, author, reply counts, timestamps.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "category": {
                "type": "string",
                "description": "Filter by category slug"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_post",
          "description": "Fetch one post with full content. Reply thread is NOT included — this is the post itself only.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_post",
          "description": "Publish a new post to the community feed. Either content (markdown) or content_json (tiptap) is required. content_format must match which field you sent. category is optional — omit for default \"general\".",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "content": {
                "type": "string",
                "description": "Markdown body (use when content_format=markdown)"
              },
              "category": {
                "type": "string"
              },
              "content_json": {
                "type": "object",
                "description": "Tiptap JSON doc (use when content_format=tiptap_json)",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string",
                "description": "Defaults to markdown"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_post",
          "description": "Edit an existing post. Only include fields you want to change. Use is_pinned to pin/unpin a post from the top of the feed.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "content": {
                "type": "string"
              },
              "category": {
                "type": "string"
              },
              "is_pinned": {
                "type": "boolean"
              },
              "content_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_events",
          "description": "List community events. Use upcoming=true for future events only (recommended for calendar UI). Returns id, title, start/end dates, event_type, location/meeting_url, attendee counts.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "upcoming": {
                "type": "boolean",
                "description": "If true, only events with start_date in the future"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_event",
          "description": "Fetch one event by id with full description and RSVP metadata.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_event",
          "description": "Create a calendar event. Dates are ISO 8601 strings in UTC. For virtual events set meeting_url; for in-person set location. event_type controls which field the UI shows.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "title",
              "event_type",
              "start_date",
              "end_date"
            ],
            "properties": {
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "string",
                "minLength": 1
              },
              "end_date": {
                "type": "string",
                "description": "ISO 8601 timestamp"
              },
              "location": {
                "type": "string"
              },
              "timezone": {
                "type": "string",
                "description": "IANA tz, e.g. \"America/New_York\""
              },
              "event_type": {
                "enum": [
                  "virtual",
                  "in-person",
                  "hybrid"
                ],
                "type": "string"
              },
              "start_date": {
                "type": "string",
                "description": "ISO 8601 timestamp"
              },
              "description": {
                "type": "string"
              },
              "meeting_url": {
                "type": "string",
                "format": "uri"
              },
              "max_attendees": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              },
              "cover_image_url": {
                "type": "string",
                "format": "uri"
              },
              "description_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "description_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_event",
          "description": "Edit an event. Set is_cancelled=true to cancel (preserves history). Set max_attendees=null to lift the cap.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "string"
              },
              "end_date": {
                "type": "string"
              },
              "location": {
                "type": "string"
              },
              "timezone": {
                "type": "string"
              },
              "event_type": {
                "enum": [
                  "virtual",
                  "in-person",
                  "hybrid"
                ],
                "type": "string"
              },
              "start_date": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "meeting_url": {
                "type": "string",
                "format": "uri"
              },
              "is_cancelled": {
                "type": "boolean"
              },
              "max_attendees": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_image_url": {
                "type": "string",
                "format": "uri"
              },
              "description_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "description_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_courses",
          "description": "List courses in the authenticated community. status=published returns only courses visible to learners. Returns id, title, visibility, is_published, thumbnail_url, timestamps.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "status": {
                "enum": [
                  "draft",
                  "published",
                  "all"
                ],
                "type": "string",
                "description": "Defaults to \"all\""
              }
            }
          }
        },
        {
          "name": "hivelearn_get_course",
          "description": "Fetch one course with full metadata (description, instructor, tags, flags). For the lesson tree use hivelearn_get_course_structure instead.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_course",
          "description": "Create an empty course (no modules/lessons). Prefer hivelearn_create_course_outline when you already know the structure — it scaffolds course + modules + lesson placeholders in one call.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "title"
            ],
            "properties": {
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "string",
                "minLength": 1
              },
              "difficulty": {
                "anyOf": [
                  {
                    "enum": [
                      "beginner",
                      "intermediate",
                      "advanced"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "visibility": {
                "enum": [
                  "all_members",
                  "admin_only"
                ],
                "type": "string",
                "description": "Defaults to all_members"
              },
              "description": {
                "type": "string"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instructor_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "description_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              },
              "instructor_avatar_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_update_course",
          "description": "Edit course metadata. Use hivelearn_publish_course instead of setting is_published=true directly — publish runs validation.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "string"
              },
              "is_pinned": {
                "type": "boolean"
              },
              "difficulty": {
                "anyOf": [
                  {
                    "enum": [
                      "beginner",
                      "intermediate",
                      "advanced"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "visibility": {
                "enum": [
                  "all_members",
                  "admin_only"
                ],
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_featured": {
                "type": "boolean"
              },
              "is_published": {
                "type": "boolean"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instructor_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "description_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              },
              "instructor_avatar_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_list_course_modules",
          "description": "List modules (sections) of a course, ordered by sort_order. Modules group lessons; a course has 1..N modules.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "course_id"
            ],
            "properties": {
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_module",
          "description": "Add a module to a course. sort_order is optional — server auto-appends if omitted.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "course_id",
              "title"
            ],
            "properties": {
              "title": {
                "type": "string",
                "minLength": 1
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            }
          }
        },
        {
          "name": "hivelearn_update_module",
          "description": "Rename or reorder a module. To reorder lessons within a module use hivelearn_reorder_module_lessons.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "title": {
                "type": "string"
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            }
          }
        },
        {
          "name": "hivelearn_list_course_lessons",
          "description": "List lessons of a course, optionally filtered to one module. Use hivelearn_get_course_structure for a nested tree.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "course_id"
            ],
            "properties": {
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "module_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_lesson",
          "description": "Add a lesson to a course. content_type must match content_url (e.g. youtube URL → content_type:youtube). Set module_id=null to leave the lesson unassigned; otherwise pass a module uuid from list_course_modules.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "course_id",
              "title",
              "content_url"
            ],
            "properties": {
              "title": {
                "type": "string",
                "minLength": 1
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "module_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_preview": {
                "type": "boolean",
                "description": "If true, visible to non-enrolled users"
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "content_url": {
                "type": "string",
                "format": "uri"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "content_type": {
                "enum": [
                  "youtube",
                  "google_drive",
                  "video",
                  "image",
                  "document",
                  "pitch"
                ],
                "type": "string"
              },
              "is_published": {
                "type": "boolean"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              },
              "duration_seconds": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            }
          }
        },
        {
          "name": "hivelearn_update_lesson",
          "description": "Edit lesson metadata or move it between modules. To edit ONLY the content body use hivelearn_update_lesson_content (narrower scope, safer).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "title": {
                "type": "string"
              },
              "module_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_preview": {
                "type": "boolean"
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "content_url": {
                "type": "string",
                "format": "uri"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "content_type": {
                "enum": [
                  "youtube",
                  "google_drive",
                  "video",
                  "image",
                  "document",
                  "pitch"
                ],
                "type": "string"
              },
              "is_published": {
                "type": "boolean"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              },
              "duration_seconds": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            }
          }
        },
        {
          "name": "hivelearn_create_course_outline",
          "description": "Scaffold an entire course in one call: course + modules + lesson placeholders (title/description only, no content yet). After this, loop over the returned lesson ids with hivelearn_update_lesson_content to fill in video/document URLs. This is the preferred first step when authoring a new course from a plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "title",
              "modules"
            ],
            "properties": {
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "title": {
                "type": "string",
                "minLength": 1
              },
              "modules": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title"
                  ],
                  "properties": {
                    "title": {
                      "type": "string",
                      "minLength": 1
                    },
                    "lessons": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "title"
                        ],
                        "properties": {
                          "title": {
                            "type": "string",
                            "minLength": 1
                          },
                          "description": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "minItems": 1,
                "description": "Ordered list of modules; each with optional lesson placeholders"
              },
              "difficulty": {
                "anyOf": [
                  {
                    "enum": [
                      "beginner",
                      "intermediate",
                      "advanced"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "visibility": {
                "enum": [
                  "all_members",
                  "admin_only"
                ],
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instructor_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "description_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              },
              "instructor_avatar_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_update_lesson_content",
          "description": "Replace just the content of a lesson — URL, content_type, and optional description/duration/thumbnail. Narrower than update_lesson; safe for bulk agent writes. Does NOT change title, sort_order, or module assignment.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "content_url": {
                "type": "string",
                "format": "uri"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_json": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "content_type": {
                "enum": [
                  "youtube",
                  "google_drive",
                  "video",
                  "image",
                  "document",
                  "pitch"
                ],
                "type": "string"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string"
              },
              "duration_seconds": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              }
            }
          }
        },
        {
          "name": "hivelearn_reorder_module_lessons",
          "description": "Set the full lesson order within a module in one atomic call. Pass the desired final order as lesson_ids — every lesson currently in the module must appear exactly once.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "module_id",
              "lesson_ids"
            ],
            "properties": {
              "module_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "lesson_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "minItems": 1
              }
            }
          }
        },
        {
          "name": "hivelearn_publish_course",
          "description": "Publish a course: sets is_published=true after validating that every lesson has content_url. Returns error if any lesson is still empty — run hivelearn_get_course_structure to diagnose.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_course_structure",
          "description": "Return a compact titles-only tree of the course: course → modules → lessons. Ideal for agents to plan reorders, spot empty lessons, or summarize a course. Does NOT include lesson body content.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_quizzes",
          "description": "List quizzes, optionally scoped to a course or a specific lesson. Each quiz belongs to one lesson.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "lesson_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_quiz",
          "description": "Fetch one quiz with metadata (passing_score, time_limit, max_attempts). Questions are NOT included — use hivelearn_list_quiz_questions.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_quiz",
          "description": "Create a quiz attached to a lesson. passing_score is 0-100 (percent). Omit time_limit_seconds or max_attempts for unlimited.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "lesson_id",
              "title"
            ],
            "properties": {
              "title": {
                "type": "string",
                "minLength": 1
              },
              "lesson_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_attempts": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "passing_score": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "shuffle_questions": {
                "type": "boolean"
              },
              "time_limit_seconds": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_update_quiz",
          "description": "Edit quiz settings. Cannot move a quiz to a different lesson — create a new one instead.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "title": {
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_attempts": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "passing_score": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "shuffle_questions": {
                "type": "boolean"
              },
              "time_limit_seconds": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_list_quiz_questions",
          "description": "List all questions for a quiz, ordered by sort_order. Each question carries its options and correct answer.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quiz_id"
            ],
            "properties": {
              "quiz_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_quiz_question",
          "description": "Add a question to a quiz. Supply the answer field for the type: multiple_choice → options [{text, is_correct}] with exactly one is_correct:true; multi_select → options with one or more correct; true_false → correct_answer (boolean); fill_in_blank → accepted_answers; matching → pairs [{left, right}]; ordering → items [{text}] in correct order (or with position 1..n).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quiz_id",
              "question_text",
              "question_type"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "position": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 1
                    }
                  }
                },
                "description": "ordering only; correct order is position 1..n, or array order if positions are omitted"
              },
              "pairs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "left",
                    "right"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "left": {
                      "type": "string",
                      "minLength": 1
                    },
                    "right": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "description": "matching only; at least 2 pairs"
              },
              "points": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Defaults to 1",
                "exclusiveMinimum": 0
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "is_correct": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "multiple_choice (exactly one is_correct:true) or multi_select (one or more). 2-12 entries."
              },
              "quiz_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "explanation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "question_text": {
                "type": "string",
                "minLength": 1
              },
              "question_type": {
                "enum": [
                  "multiple_choice",
                  "true_false",
                  "fill_in_blank",
                  "multi_select",
                  "matching",
                  "ordering"
                ],
                "type": "string"
              },
              "correct_answer": {
                "type": "boolean",
                "description": "true_false only"
              },
              "accepted_answers": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "fill_in_blank only; matched case-insensitively"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_quiz_question",
          "description": "Edit a question. Sending question_type or any answer field (options, correct_answer, accepted_answers, pairs, items) rebuilds the answer key, so supply the full answer for the effective type.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "position": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 1
                    }
                  }
                },
                "description": "ordering only; correct order is position 1..n, or array order if positions are omitted"
              },
              "pairs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "left",
                    "right"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "left": {
                      "type": "string",
                      "minLength": 1
                    },
                    "right": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "description": "matching only; at least 2 pairs"
              },
              "points": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "is_correct": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "multiple_choice (exactly one is_correct:true) or multi_select (one or more). 2-12 entries."
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "explanation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "question_text": {
                "type": "string"
              },
              "question_type": {
                "enum": [
                  "multiple_choice",
                  "true_false",
                  "fill_in_blank",
                  "multi_select",
                  "matching",
                  "ordering"
                ],
                "type": "string"
              },
              "correct_answer": {
                "type": "boolean",
                "description": "true_false only"
              },
              "accepted_answers": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "fill_in_blank only; matched case-insensitively"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_enrollments",
          "description": "List course enrollments, optionally scoped to one course or one user. Returns enrollment_id, user_id, course_id, status, progress %, enrolled_at, completed_at.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_enrollment",
          "description": "Fetch one enrollment with status and progress.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_enrollment",
          "description": "Enroll a user in a course. Both user_id and course_id must belong to the authenticated community. Duplicate enrollments are rejected.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id",
              "course_id"
            ],
            "properties": {
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_course_progress",
          "description": "Aggregate lesson-completion progress for a course across enrolled users. Returns per-user percent_complete, last_accessed_at, completed_lesson_count.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "course_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Scope to one user"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_course_gradebook",
          "description": "Quiz-score gradebook for a course: per-user quiz attempts, scores, pass/fail. Use for analytics or grading dashboards.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "course_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_certificates",
          "description": "List issued certificates, optionally scoped to one user or one course. Returns id, user, course, verification_code, status, issued_at.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_certificate",
          "description": "Fetch one certificate by id. Includes verification_code and download URL.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_certificate",
          "description": "Issue a certificate of completion to a user for a course. Normally the platform auto-issues on course completion — use this tool for bulk backfill or manual awards.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id",
              "course_id"
            ],
            "properties": {
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "expires_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "ISO timestamp; omit or null for no expiry"
              },
              "final_score": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "completion_date": {
                "type": "string",
                "description": "ISO timestamp; defaults to now"
              },
              "instructor_name": {
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_certificate",
          "description": "Change a certificate status. Use \"revoked\" to invalidate (verify endpoint will reject).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "status"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "status": {
                "enum": [
                  "active",
                  "revoked",
                  "expired"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_verify_certificate",
          "description": "Public verification lookup by verification_code. Returns { valid, certificate } if found and active. Use this when a third party presents a certificate code.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "minLength": 1,
                "description": "The verification_code printed on the certificate"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_resources",
          "description": "List published resources in the authenticated community, newest first. Filter by folder_id, resource_type, or access_level. Returns id, title, resource_type, resource_url/file_url, access_level, counts (downloads, views, favorites), author. The internal storage key is never exposed.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "folder_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Filter to a single resource folder"
              },
              "access_level": {
                "enum": [
                  "public",
                  "members",
                  "premium"
                ],
                "type": "string"
              },
              "resource_type": {
                "enum": [
                  "guide",
                  "toolkit",
                  "course",
                  "checklist",
                  "template",
                  "other"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_resource",
          "description": "Fetch one published resource by id, with joined author. 404 if unpublished or in another community.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_resource",
          "description": "Add a resource to the community library. Supply either resource_url (external link) or file_url (already-uploaded file) — at least one is required. price must be > 0 if set (omit for free). access_level defaults to public.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "title"
            ],
            "properties": {
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 50
                },
                "maxItems": 20
              },
              "price": {
                "type": "number",
                "description": "One-time price (> 0); omit for free",
                "exclusiveMinimum": 0
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "For already-uploaded file resources"
              },
              "folder_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "is_premium": {
                "type": "boolean"
              },
              "description": {
                "type": "string",
                "maxLength": 20000
              },
              "access_level": {
                "enum": [
                  "public",
                  "members",
                  "premium"
                ],
                "type": "string",
                "description": "Defaults to public"
              },
              "is_published": {
                "type": "boolean",
                "description": "Defaults to true"
              },
              "resource_url": {
                "type": "string",
                "format": "uri",
                "description": "For external-link resources"
              },
              "resource_type": {
                "enum": [
                  "guide",
                  "toolkit",
                  "course",
                  "checklist",
                  "template",
                  "other"
                ],
                "type": "string",
                "description": "Defaults to \"guide\""
              },
              "cover_image_url": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_resource",
          "description": "Edit a resource. Only include fields you want to change. Set is_featured to surface it; set is_published=false to unlist.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 50
                },
                "maxItems": 20
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "file_url": {
                "type": "string",
                "format": "uri"
              },
              "folder_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_premium": {
                "type": "boolean"
              },
              "description": {
                "type": "string",
                "maxLength": 20000
              },
              "is_featured": {
                "type": "boolean"
              },
              "access_level": {
                "enum": [
                  "public",
                  "members",
                  "premium"
                ],
                "type": "string"
              },
              "is_published": {
                "type": "boolean"
              },
              "resource_url": {
                "type": "string",
                "format": "uri"
              },
              "resource_type": {
                "enum": [
                  "guide",
                  "toolkit",
                  "course",
                  "checklist",
                  "template",
                  "other"
                ],
                "type": "string"
              },
              "cover_image_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_get_leaderboard",
          "description": "Ranked member leaderboard for the community. period chooses the window: all_time (default), 30_day, or 7_day. Each entry carries rank and the points for the selected period, plus level info.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "period": {
                "enum": [
                  "all_time",
                  "30_day",
                  "7_day"
                ],
                "type": "string",
                "description": "Defaults to all_time"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_member_points",
          "description": "Full points breakdown for one member (by auth user id) in the community: total, per-category (posts/comments/events/courses/engagement), period totals, level. 404 if the member has no points record here.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id"
            ],
            "properties": {
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "The auth user id (community_members.user_id)"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_tracks",
          "description": "List published learning tracks (curated course sequences) in the community, newest first. Returns id, title, description, difficulty_level, estimated_hours, flags.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_track",
          "description": "Fetch one learning track by id with full metadata. For its ordered curriculum use hivelearn_list_track_courses.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_track_courses",
          "description": "Return the ordered curriculum of a track: its courses with sort_order, is_required, and unlock_after_course_id (prerequisite gating).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "track_id"
            ],
            "properties": {
              "track_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_track_progress",
          "description": "Per-member progress through a learning track: enrolled_at, started_at, completed_at, total_courses, completed counts. Use for cohort/track analytics.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "track_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "track_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_track",
          "description": "Create a learning track (curated course sequence). After this, add courses in order with hivelearn_add_track_course. is_published defaults to false — publish once the curriculum is set.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "title"
            ],
            "properties": {
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "description": {
                "type": "string",
                "maxLength": 20000
              },
              "is_featured": {
                "type": "boolean"
              },
              "is_published": {
                "type": "boolean",
                "description": "Defaults to false"
              },
              "thumbnail_url": {
                "type": "string",
                "format": "uri"
              },
              "estimated_hours": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "difficulty_level": {
                "enum": [
                  "beginner",
                  "intermediate",
                  "advanced"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_track",
          "description": "Edit a learning track. Only include fields you want to change. Set is_published=true to make it live.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "description": {
                "type": "string",
                "maxLength": 20000
              },
              "is_featured": {
                "type": "boolean"
              },
              "is_published": {
                "type": "boolean"
              },
              "thumbnail_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "estimated_hours": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "difficulty_level": {
                "enum": [
                  "beginner",
                  "intermediate",
                  "advanced"
                ],
                "type": "string"
              }
            }
          }
        },
        {
          "name": "hivelearn_add_track_course",
          "description": "Add a course to a track at a given position. sort_order sets the order within the track. Set unlock_after_course_id to a prerequisite course that must be completed first (omit/null for no gate). is_required defaults to true.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "track_id",
              "course_id",
              "sort_order"
            ],
            "properties": {
              "track_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "sort_order": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Position within the track"
              },
              "is_required": {
                "type": "boolean",
                "description": "Defaults to true"
              },
              "unlock_after_course_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Prerequisite course id, or null for no gate"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_ai_credits",
          "description": "AI credit balance for the API key's creator: monthly allowance remaining, purchased top-ups (never expire), total available, reset date, and whether the AI Course Builder is enabled for this community. Check this before generating. Needs scope read:ai.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          }
        },
        {
          "name": "hivelearn_list_ai_jobs",
          "description": "List the key creator's AI course generation jobs in this community, newest first, with status and progress. Needs scope read:ai.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_ai_job",
          "description": "Status and progress of one AI generation job. Poll after hivelearn_generate_ai_course. status is queued | processing | completed | failed | refunded; current_step shows the phase; course_id is the resulting course. A job that stays queued with started_at null was never picked up and is failed and refunded automatically within about an hour. Needs scope read:ai.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_generate_ai_course",
          "description": "Generate a full course with AI and return a job_id to poll with hivelearn_get_ai_job. SPENDS the key creator's AI credits: 1 credit, or 5 for hybrid_chapters (paid plans only), plus 1 when include_recap_video is true in a video mode. Confirm with the user before calling. Requires the explicit generate:ai_courses scope, which admin:* does NOT include. source_type video_url imports a public YouTube/Vimeo/Loom link; every other type needs a file already uploaded to HiveLearn media storage (external URLs are rejected). Limited to 2 running and 10 per hour.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "source_type",
              "source_url"
            ],
            "properties": {
              "source_url": {
                "type": "string",
                "format": "uri",
                "description": "Video link for video_url; otherwise an https URL on the HiveLearn media host"
              },
              "video_mode": {
                "enum": [
                  "none",
                  "intro_only",
                  "hybrid_chapters"
                ],
                "type": "string",
                "description": "none/intro_only = 1 credit, hybrid_chapters = 5, +1 for include_recap_video in a video mode. Default intro_only; forced to none for video_url (always 1 credit)"
              },
              "context_url": {
                "type": "string",
                "format": "uri",
                "description": "Optional supporting document on the HiveLearn media host"
              },
              "source_type": {
                "enum": [
                  "document",
                  "audio",
                  "video",
                  "video_url"
                ],
                "type": "string"
              },
              "style_preset": {
                "type": "string",
                "description": "Thumbnail style preset key; unknown values are ignored"
              },
              "content_depth": {
                "enum": [
                  "auto",
                  "concise",
                  "standard",
                  "deep"
                ],
                "type": "string"
              },
              "brand_intensity": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "include_quizzes": {
                "type": "boolean"
              },
              "source_filename": {
                "type": "string",
                "minLength": 1,
                "description": "Required for every type except video_url"
              },
              "include_intro_video": {
                "type": "boolean"
              },
              "include_recap_video": {
                "type": "boolean",
                "description": "Opt-in second avatar clip, +1 credit"
              },
              "quiz_questions_per_chapter": {
                "type": "integer",
                "maximum": 10,
                "minimum": 2
              }
            }
          }
        },
        {
          "name": "hivelearn_list_event_attendees",
          "description": "List an event's attendees with check-in status and basic profile. source='rsvp' (default) for free RSVPs, 'ticket' for paid ticket purchases. Requires scope read:events.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "event_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "source": {
                "enum": [
                  "rsvp",
                  "ticket"
                ],
                "type": "string",
                "description": "'rsvp' (default) or 'ticket'"
              },
              "event_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Event UUID"
              },
              "rsvp_status": {
                "enum": [
                  "going",
                  "maybe",
                  "not_going"
                ],
                "type": "string",
                "description": "Filter RSVPs (source=rsvp)"
              },
              "payment_status": {
                "enum": [
                  "pending",
                  "succeeded",
                  "failed",
                  "refunded",
                  "partially_refunded"
                ],
                "type": "string",
                "description": "Filter tickets (source=ticket)"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_event_waitlist",
          "description": "List an event's waitlist in queue order (oldest first) with position and basic profile. Requires scope read:events.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "event_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "event_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Event UUID"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_post_comments",
          "description": "List comments on a feed post, oldest first. Returns id, content, parent_comment_id, author, likes_count, timestamps. 404 if the post is not in this community.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "post_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "post_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Post uuid (from list_posts)"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_post_comment",
          "description": "Comment on a feed post as the API key's owner. The comment is visible to all members immediately, notifies the post author, and awards comment points. Set parent_comment_id to reply to another comment on the same post.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "post_id"
            ],
            "properties": {
              "content": {
                "type": "string",
                "maxLength": 20000,
                "description": "Plain-text/markdown body. Required unless content_json is given."
              },
              "post_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Post uuid (from list_posts)"
              },
              "content_json": {
                "description": "Tiptap JSON body (alternative to content)"
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string",
                "description": "Defaults to 'tiptap_json' with content_json, else 'markdown'"
              },
              "parent_comment_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Comment uuid on the same post to reply to"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_discussions",
          "description": "List published discussions (forum threads), pinned first then newest. Returns id, title, content, category, tags, reply/like counts, is_locked, author.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "category": {
                "type": "string",
                "description": "Filter by exact category"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_discussion",
          "description": "Fetch one discussion by uuid, with author. Use list_discussion_replies for its replies.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Discussion uuid (from list_discussions)"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_discussion",
          "description": "Start a discussion as the API key's owner. It is published and visible to all members immediately, and notifies every member who has new-discussion notifications on.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "title"
            ],
            "properties": {
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 20,
                "description": "Tag list"
              },
              "title": {
                "type": "string",
                "maxLength": 300,
                "minLength": 1,
                "description": "Discussion title"
              },
              "content": {
                "type": "string",
                "maxLength": 20000,
                "description": "Plain-text/markdown body. Required unless content_json is given."
              },
              "category": {
                "type": "string",
                "description": "Category label, default \"General\""
              },
              "content_json": {
                "description": "Tiptap JSON body (alternative to content)"
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string",
                "description": "Defaults to 'tiptap_json' with content_json, else 'markdown'"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_discussion_replies",
          "description": "List replies in a discussion, oldest first. Returns id, content, parent_reply_id, is_accepted_answer, author, likes_count.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Discussion uuid"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_discussion_reply",
          "description": "Reply to a discussion as the API key's owner. The reply is visible to all members immediately and notifies the discussion author. Fails with 409 if the discussion is locked. Set parent_reply_id to nest under another reply.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Discussion uuid"
              },
              "content": {
                "type": "string",
                "maxLength": 20000,
                "description": "Plain-text/markdown body. Required unless content_json is given."
              },
              "content_json": {
                "description": "Tiptap JSON body (alternative to content)"
              },
              "content_format": {
                "enum": [
                  "markdown",
                  "tiptap_json"
                ],
                "type": "string",
                "description": "Defaults to 'tiptap_json' with content_json, else 'markdown'"
              },
              "parent_reply_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Reply uuid in the same discussion to nest under"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_analytics_summary",
          "description": "Community analytics over a trailing window of `days` (default 30): total and new members, posts created, enrollments (total, new, completions, completion rate), published courses, and events created/held with RSVPs and check-ins. Definitions match the admin dashboard. Requires read:analytics.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "days": {
                "type": "integer",
                "maximum": 365,
                "minimum": 1,
                "description": "Trailing window in days (1-365), default 30"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_course_analytics",
          "description": "Per-course analytics for the community (newest course first): enrollments, new enrollments and completions in the last `days`, completion rate, average progress, and average rating. Paginated. Requires read:analytics.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "days": {
                "type": "integer",
                "maximum": 365,
                "minimum": 1,
                "description": "Trailing window in days (1-365), default 30"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_quiz_attempts",
          "description": "List attempts for one quiz: learner, score (0-100), points, passed, started_at and completed_at (null = in progress). Never includes answers or answer keys. Requires read:courses.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "quiz_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "quiz_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Quiz uuid"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Only this learner"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_assignment_submissions",
          "description": "List assignment submissions in the community, newest first, with student profile and lesson title. Filter by course_id, lesson_id or status. Requires read:courses.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "status": {
                "enum": [
                  "submitted",
                  "reviewed",
                  "approved",
                  "revision_requested"
                ],
                "type": "string"
              },
              "course_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "lesson_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_assignment_submission",
          "description": "Fetch one assignment submission: text/url, status, instructor feedback and reviewer. Requires read:courses.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Submission uuid"
              }
            }
          }
        },
        {
          "name": "hivelearn_grade_assignment_submission",
          "description": "Review an assignment submission: sets status (reviewed, approved, revision_requested, submitted) and instructor feedback, recorded as reviewed by the API key's creator. This changes a member's record and the student will see it. revision_requested requires feedback. Requires write:grades.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "status"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Submission uuid"
              },
              "status": {
                "enum": [
                  "submitted",
                  "reviewed",
                  "approved",
                  "revision_requested"
                ],
                "type": "string"
              },
              "feedback": {
                "type": "string",
                "maxLength": 10000,
                "description": "Feedback shown to the student"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_resource_folders",
          "description": "List resource-library folders in the authenticated community, ordered by position then name. Folders nest via parent_folder_id; pass parent_folder_id=\"root\" for top-level only, or a folder id for its children. Each folder includes resource_count.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "parent_folder_id": {
                "type": "string",
                "description": "Folder id, or \"root\" for top-level folders"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_resource_folder",
          "description": "Fetch one resource folder by id, with its resource_count. 404 if it belongs to another community.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_resource_folder",
          "description": "Create a resource-library folder. parent_folder_id (optional) must be a folder in the same community. Names must be unique among siblings (409). price must be > 0 if set.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name"
            ],
            "properties": {
              "icon": {
                "type": "string",
                "maxLength": 50,
                "minLength": 1,
                "description": "Icon name, defaults to \"folder\""
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$",
                "description": "#RRGGBB hex color"
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "position": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Sort order among siblings"
              },
              "description": {
                "type": "string",
                "maxLength": 2000
              },
              "parent_folder_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Parent folder; omit/null for top level"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_resource_folder",
          "description": "Update a resource folder (rename, recolor, reorder, reprice, or move). parent_folder_id=null moves it to top level; moving a folder into itself or a descendant is rejected. Only supplied fields change.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "icon": {
                "type": "string",
                "maxLength": 50,
                "minLength": 1
              },
              "name": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9A-Fa-f]{6}$",
                "description": "#RRGGBB hex color"
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "position": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2000
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parent_folder_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_list_question_banks",
          "description": "List question banks (reusable question pools that bank-draw quizzes sample from), newest first.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_question_bank",
          "description": "Fetch one question bank with its item_count. Items are listed separately via hivelearn_list_question_bank_items.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_question_bank",
          "description": "Create an empty question bank. Add questions with hivelearn_create_question_bank_item.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 5000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_update_question_bank",
          "description": "Rename a question bank or change its description.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 5000
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "hivelearn_list_question_bank_items",
          "description": "List the questions in a bank, WITH the answer key (is_correct, pairs/items, explanation). Authoring view for admins.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "bank_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "bank_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_question_bank_item",
          "description": "Add a question to a bank. Supports all 6 types; supply the answer field for the type: options (multiple_choice / multi_select), correct_answer (true_false), accepted_answers (fill_in_blank), pairs (matching), items (ordering).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "bank_id",
              "question_text",
              "question_type"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "position": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 1
                    }
                  }
                },
                "description": "ordering only; correct order is position 1..n, or array order if positions are omitted"
              },
              "pairs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "left",
                    "right"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "left": {
                      "type": "string",
                      "minLength": 1
                    },
                    "right": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "description": "matching only; at least 2 pairs"
              },
              "points": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Defaults to 1",
                "exclusiveMinimum": 0
              },
              "bank_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "is_correct": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "multiple_choice (exactly one is_correct:true) or multi_select (one or more). 2-12 entries."
              },
              "explanation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "question_text": {
                "type": "string",
                "minLength": 1
              },
              "question_type": {
                "enum": [
                  "multiple_choice",
                  "true_false",
                  "fill_in_blank",
                  "multi_select",
                  "matching",
                  "ordering"
                ],
                "type": "string"
              },
              "correct_answer": {
                "type": "boolean",
                "description": "true_false only"
              },
              "accepted_answers": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "fill_in_blank only; matched case-insensitively"
              }
            }
          }
        },
        {
          "name": "hivelearn_update_question_bank_item",
          "description": "Edit a bank question. Changing question_type or any answer field rebuilds the answer key, so resupply the answer field for the (new) type.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "position": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 1
                    }
                  }
                },
                "description": "ordering only; correct order is position 1..n, or array order if positions are omitted"
              },
              "pairs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "left",
                    "right"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "left": {
                      "type": "string",
                      "minLength": 1
                    },
                    "right": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "description": "matching only; at least 2 pairs"
              },
              "points": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1
                    },
                    "is_correct": {
                      "type": "boolean"
                    }
                  }
                },
                "description": "multiple_choice (exactly one is_correct:true) or multi_select (one or more). 2-12 entries."
              },
              "explanation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "question_text": {
                "type": "string",
                "minLength": 1
              },
              "question_type": {
                "enum": [
                  "multiple_choice",
                  "true_false",
                  "fill_in_blank",
                  "multi_select",
                  "matching",
                  "ordering"
                ],
                "type": "string"
              },
              "correct_answer": {
                "type": "boolean",
                "description": "true_false only"
              },
              "accepted_answers": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "description": "fill_in_blank only; matched case-insensitively"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_member_notes",
          "description": "List private admin notes on a member, newest first.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Member's user (profile) uuid, not the membership row id"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_member_note",
          "description": "Add a private admin note to a member. The author is the API key's creator.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id",
              "note"
            ],
            "properties": {
              "note": {
                "type": "string",
                "maxLength": 10000,
                "minLength": 1,
                "description": "Note text"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Member's user (profile) uuid, not the membership row id"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_member_tags",
          "description": "List the community's member tags (id, name, color).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_create_member_tag",
          "description": "Create a member tag. Names are unique per community (409 on duplicate).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 50,
                "minLength": 1,
                "description": "Tag name"
              },
              "color": {
                "type": "string",
                "pattern": "^#[0-9a-fA-F]{6}$",
                "description": "Hex color, e.g. #4361EE"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_member_tag_assignments",
          "description": "List the tags assigned to a member.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id"
            ],
            "properties": {
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Member's user (profile) uuid, not the membership row id"
              }
            }
          }
        },
        {
          "name": "hivelearn_add_member_tag",
          "description": "Assign a tag to a member. Idempotent: returns the existing assignment if already tagged.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id",
              "tag_id"
            ],
            "properties": {
              "tag_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Tag uuid from list_member_tags"
              },
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Member's user (profile) uuid, not the membership row id"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_segments",
          "description": "List saved member segments with their filter rules.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              }
            }
          }
        },
        {
          "name": "hivelearn_list_segment_members",
          "description": "List members matching a segment's rules, evaluated server-side the same way the admin CRM does.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "segment_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Page size, default 20"
              },
              "offset": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Rows to skip, default 0"
              },
              "segment_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Segment uuid"
              }
            }
          }
        },
        {
          "name": "hivelearn_get_member_health",
          "description": "Get a member's health score (engagement, activity, risk level). 404 until the daily job has scored them.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "user_id"
            ],
            "properties": {
              "user_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                "description": "Member's user (profile) uuid, not the membership row id"
              }
            }
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}