Skip to main content
Glama

chunked_code_gen

Generate code files by writing functions in parallel. Specify functionality, language, and output path to assemble complete files from multiple concurrent processes.

Instructions

Generate code files by having bugs write functions in parallel. Each bug writes one function, Python assembles the file. output_path: Where to save the code file spec: What the code should do language: 'python', 'javascript', 'bash', etc. num_functions: How many functions to generate (default 4, max 8) EXAMPLE: chunked_code_gen("/tmp/utils.py", "File utilities: read, write, copy, delete", "python", 4)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_pathYes
specYes
languageNopython
num_functionsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BossX429/agent-farm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server