| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {
- "name": "douyin-viral-script-analyzer",
- "displayName": "抖音爆款口播结构拆解器",
- "description": "读取抖音视频、评论、回复和可选逐字稿,输出钩子类型、开头模式、核心冲突、证明点、评论触发点和可复用口播框架。",
- "category": "douyin",
- "version": "0.1.0",
- "type": "local-script",
- "execution": {
- "kind": "command",
- "command": "node",
- "args": [
- "scripts/tools/openclaw-tool-runner.js",
- "--tool",
- "douyin-viral-script-analyzer.js",
- "--result-prefix",
- "DOUYIN_VIRAL_SCRIPT_RESULT",
- "--",
- "--input",
- "{{input}}",
- "--output",
- "{{output}}",
- "--text",
- "{{text}}",
- "--transcript",
- "{{transcript}}",
- "--limit",
- "{{limit}}"
- ],
- "cwd": "{{workspaceRoot}}",
- "outputParser": { "type": "stdout-prefix-json", "prefix": "DOUYIN_VIRAL_SCRIPT_RESULT=" },
- "exitCodes": { "0": "ok | needs_data", "1": "error" }
- },
- "parameters": {
- "type": "object",
- "required": ["output"],
- "properties": {
- "input": { "type": "string", "description": "抖音采集结果 JSON、目录或 daily-report.json" },
- "output": { "type": "string", "description": "输出目录" },
- "text": { "type": "string", "description": "单条视频描述或逐字稿文本" },
- "transcript": { "type": "string", "description": "transcript.txt 或 transcript.json" },
- "limit": { "type": "integer", "default": 10 }
- }
- },
- "output": {
- "type": "object",
- "properties": {
- "status": { "type": "string" },
- "outputDir": { "type": "string" },
- "analysisCount": { "type": "integer" },
- "files": { "type": "array" }
- }
- },
- "deployment": {
- "toolInstallPaths": [
- "~/.openclaw/tools/douyin-viral-script-analyzer.js",
- "~/.openclaw/workspace/scripts/tools/douyin-viral-script-analyzer.js",
- "~/.openclaw/workspace/scripts/tools/openclaw-tool-runner.js"
- ]
- }
- }
|