Environment preflight
doctorChecks prerequisites for generating a narrated product-demo MP4—Node, ffmpeg, browser/Chrome, TTS/STT endpoint, API key, Playwright, and installed skill—to flag missing dependencies before rendering.
Instructions
Check prereqs: node, ffmpeg, Chrome (or the AIDEMO_CHROME_CHANNEL / AIDEMO_CHROME_EXECUTABLE browser in use), TTS/STT endpoint (flags LLM-only servers like Ollama), API key, playwright + its ffmpeg helper (records the take; installed on the first take unless AIDEMO_NO_AUTO_INSTALL=1), installed skill.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doctor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | repo to check for an installed skill |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gh | Yes | ||
| ok | Yes | ||
| tts | Yes | ||
| node | Yes | ||
| skill | Yes | ||
| apiKey | Yes | ||
| chrome | Yes | ||
| ffmpeg | Yes | ||
| browser | Yes | ||
| endpoint | Yes | ||
| playwright | Yes | ||
| engineVersion | Yes | ||
| recorderFfmpeg | Yes | Playwright's ffmpeg helper the built-in capture records with |