mcp-llm
by sammcj
generate_code_to_file
Generate code and write it directly to a file at a specific line number
Input Schema
Name | Required | Description | Default |
---|---|---|---|
additionalContext | No | Additional context or requirements for the code | |
description | Yes | Description of the code to generate | |
filePath | Yes | Path to the file where the code should be written | |
language | No | Programming language (e.g., JavaScript, Python, TypeScript) | |
lineNumber | Yes | Line number where the code should be inserted (0-based) | |
replaceLines | No | Number of lines to replace (0 for insertion only) |
Input Schema (JSON Schema)
You must be authenticated.