extract_code_snippets
Extract code snippets, CLI commands, and programming content from YouTube video transcripts. Designed for developer tutorials to capture npm, git, and code patterns.
Instructions
Extract code snippets, CLI commands, and programming content from a video transcript. Perfect for developer tutorials. Detects: npm/yarn/pip commands, git commands, code patterns, file paths, URLs. COMBINE WITH: find_tech_stack for technologies used, find_github_links for repos, get_tutorial_steps for instructions. For complete dev notes, use convert_to_notes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"videoId": "<videoId>"
},
"name": "extract_code_snippets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | YouTube video ID or URL | |
| language | No | Transcript language code | en |