generate_multi_function_module
Generate code for a multi-function module and optional unit tests from function specs, language, and test cases.
Instructions
Generate code for a multi-function module (Template 4) using coder expert model.
If generate_test_file is True, it will co-generate a matching unit test suite.
IMPORTANT: All parameters (such as 'task', 'module_purpose', 'context', 'functions' list with its descriptions/constraints, etc.) MUST be provided in English. If the user's prompt or request is in Vietnamese or another language, the calling agent must automatically translate the text of these parameter values into English before invoking this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| context | No | ||
| language | Yes | ||
| functions | Yes | ||
| test_cases | Yes | ||
| dependencies | No | ||
| shared_types | No | ||
| export_format | No | ||
| module_purpose | Yes | ||
| generate_test_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |