agent.json
{
"id": "agentrove.video-script",
"name": "Video Script",
"version": "0.1.2",
"license": "MIT",
"summary": "Builds a 15-90 second short-form video script from a research brief: hook, one segment per sourced key point and a call to action, timed from word count, with a claims list linked to source URLs and SRT captions.",
"sdk_import": "../../../sdk/index.js",
"entry": { "module": "src/index.js", "cli": "bin/cli.js", "mcp": "bin/mcp.js" },
"tools": [
{
"name": "build_script",
"description": "Build a short-form script from a research_brief. Body segments use the brief's claims verbatim (optionally prefixed with 'According to <site>:'), so the script never asserts anything that is not in the brief; points without source URLs are skipped. Timings are computed from word count (default 2.5 words/s). Returns the script, its claims list with source URLs, and captions_srt.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": ["brief"],
"properties": {
"brief": {
"type": "object",
"required": ["topic", "key_points"],
"properties": {
"topic": { "type": "string", "minLength": 1, "maxLength": 300 },
"generated_at": { "type": "string" },
"key_points": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"required": ["claim", "sources"],
"properties": {
"claim": { "type": "string", "maxLength": 2000 },
"sources": { "type": "array", "maxItems": 50, "items": { "type": "string", "maxLength": 2048 } }
}
}
},
"open_questions": { "type": "array", "items": { "type": "string" } }
}
},
"title": { "type": "string", "minLength": 1, "maxLength": 200 },
"target_seconds": { "type": "integer", "minimum": 15, "maximum": 90 },
"words_per_second": { "type": "number", "minimum": 1.5, "maximum": 4 },
"max_points": { "type": "integer", "minimum": 1, "maximum": 10 },
"hook": { "type": "string", "minLength": 1, "maxLength": 300 },
"cta": { "type": "string", "minLength": 1, "maxLength": 300 },
"attribute_sources": { "type": "boolean" },
"pause_seconds": { "type": "number", "minimum": 0, "maximum": 2 },
"max_chars_per_line": { "type": "integer", "minimum": 20, "maximum": 80 }
}
},
"output_schema": {
"type": "object",
"required": ["script", "captions_srt", "word_budget", "warnings"],
"properties": {
"script": {
"type": "object",
"required": ["title", "duration_seconds", "segments", "claims"],
"properties": {
"title": { "type": "string" },
"duration_seconds": { "type": "number", "minimum": 0, "maximum": 120 },
"words_per_second": { "type": "number" },
"segments": {
"type": "array",
"minItems": 3,
"items": {
"type": "object",
"required": ["start", "end", "text", "kind"],
"properties": {
"index": { "type": "integer" },
"kind": { "enum": ["hook", "body", "cta"] },
"start": { "type": "number", "minimum": 0 },
"end": { "type": "number", "minimum": 0 },
"text": { "type": "string" },
"words": { "type": "integer" }
}
}
},
"claims": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["text", "source_url", "sources"],
"properties": { "text": { "type": "string" }, "source_url": { "type": "string" }, "sources": { "type": "array", "minItems": 1, "items": { "type": "string" } }, "segment": { "type": "integer" } }
}
}
}
},
"captions_srt": { "type": "string" },
"word_budget": { "type": "object" },
"generated_at": { "type": "string" },
"warnings": { "type": "array", "items": { "type": "string" } }
}
}
},
{
"name": "captions_from_script",
"description": "Export SubRip (.srt) captions from an existing or edited script's timed segments.",
"side_effects": "none",
"requires_confirmation": false,
"input_schema": {
"type": "object",
"additionalProperties": false,
"required": ["script"],
"properties": {
"script": {
"type": "object",
"required": ["segments"],
"properties": {
"segments": {
"type": "array",
"minItems": 1,
"maxItems": 500,
"items": {
"type": "object",
"required": ["start", "end", "text"],
"properties": { "start": { "type": "number", "minimum": 0 }, "end": { "type": "number", "minimum": 0, "maximum": 86400 }, "text": { "type": "string", "maxLength": 5000 } }
}
}
}
},
"max_chars_per_line": { "type": "integer", "minimum": 20, "maximum": 80 }
}
},
"output_schema": {
"type": "object",
"required": ["captions_srt"],
"properties": { "captions_srt": { "type": "string" }, "cue_source_segments": { "type": "integer" } }
}
}
],
"permissions": { "filesystem": "none", "network": [], "credentials": [] },
"io": {
"inputs": [
{ "name": "brief", "type": "research_brief" },
{ "name": "script", "type": "script" }
],
"outputs": [
{ "name": "script", "type": "script" },
{ "name": "captions_srt", "type": "captions_srt" }
]
},
"runtimes": [
{ "id": "node", "version": ">=20", "tested": true },
{ "id": "claude-code", "tested": false, "notes": "MCP stdio server; not yet verified in Claude Code by AgentRove" }
],
"external_costs": "None. Runs fully offline; no text-to-speech, video or AI model APIs are called."
}