save_addon
Scaffold a complete Odoo add-on module from a requirement, writing all starter files to disk and returning the directory, file tree, and validation results.
Instructions
Generate the starter and write all files to output_dir// on disk. Returns directory, tree, and validation.
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": {
"requirement": "<requirement>",
"output_dir": "<output_dir>"
},
"name": "save_addon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guardrails | No | ||
| output_dir | Yes | Existing parent directory, e.g. ./custom_addons | |
| requirement | Yes | ||
| odoo_version | No |