{"schema_version":"1.0","name":"comentu","description":"Comentu (啃馒头) — 弹幕评论智能预演系统。AI-powered comment and danmaku automation for Bilibili, Xiaohongshu, and Douyin.","tools":[{"name":"create_task","description":"Create a new comment/danmaku task for a video. The task will go through content generation, preview, confirmation, and sending.","inputSchema":{"type":"object","required":["platform","videoUrl"],"properties":{"platform":{"type":"string","enum":["bilibili","xiaohongshu","douyin"],"description":"Target platform"},"videoUrl":{"type":"string","description":"URL of the target video or note"},"interactionType":{"type":"string","enum":["comment","danmaku","like"],"default":"comment","description":"Type of interaction"},"confirmationMode":{"type":"string","enum":["manual","auto","full_auto"],"default":"manual","description":"Content confirmation mode"}}}},{"name":"batch_create_tasks","description":"Create multiple tasks in a single request. Each task is processed independently — partial failures do not affect other tasks.","inputSchema":{"type":"object","required":["tasks"],"properties":{"tasks":{"type":"array","items":{"type":"object","required":["platform","videoUrl"],"properties":{"platform":{"type":"string","enum":["bilibili","xiaohongshu","douyin"]},"videoUrl":{"type":"string"},"interactionType":{"type":"string","enum":["comment","danmaku","like"]},"confirmationMode":{"type":"string","enum":["manual","auto","full_auto"]}}},"description":"Array of task configurations"}}}},{"name":"get_task_status","description":"Get the current status of a task by ID.","inputSchema":{"type":"object","required":["taskId"],"properties":{"taskId":{"type":"string","description":"The task ID to query"}}}},{"name":"batch_get_task_status","description":"Get the status of multiple tasks in a single request.","inputSchema":{"type":"object","required":["taskIds"],"properties":{"taskIds":{"type":"array","items":{"type":"string"},"description":"Array of task IDs to query"}}}},{"name":"confirm_preview","description":"Confirm a content preview session, allowing the task to proceed to sending.","inputSchema":{"type":"object","required":["sessionId"],"properties":{"sessionId":{"type":"string","description":"The preview session ID to confirm"}}}},{"name":"batch_confirm_preview","description":"Confirm multiple preview sessions at once. Supports autoConfirm parameter to skip manual review.","inputSchema":{"type":"object","required":["sessionIds"],"properties":{"sessionIds":{"type":"array","items":{"type":"string"},"description":"Array of session IDs to confirm"},"autoConfirm":{"type":"boolean","default":false,"description":"If true, skip manual review and auto-confirm (requires appropriate confirmation mode)"}}}},{"name":"register_webhook","description":"Register a webhook URL to receive event notifications (task completion, send verification, account health alerts).","inputSchema":{"type":"object","required":["url","events","secret"],"properties":{"url":{"type":"string","description":"The callback URL to receive webhook events"},"events":{"type":"array","items":{"type":"string"},"description":"Event types to subscribe: task:status_changed, task:preview_ready, task:send_verified, account:health_alert, *"},"secret":{"type":"string","description":"HMAC-SHA256 secret for verifying webhook signatures"}}}},{"name":"list_webhooks","description":"List all registered webhooks for the authenticated client.","inputSchema":{"type":"object","properties":{}}},{"name":"import_accounts_json","description":"Import platform accounts in JSON format for automated interactions.","inputSchema":{"type":"object","required":["jsonContent"],"properties":{"jsonContent":{"type":"string","description":"JSON string containing array of account objects with platform, account_id, cookie_data fields"}}}},{"name":"list_accounts","description":"List all platform accounts for the authenticated client.","inputSchema":{"type":"object","properties":{}}}]}