refactory_extract
Extract one module from a monolith according to a decomposition plan. AI plans boundaries, deterministic engine handles extraction.
Instructions
Extract one module from the monolith according to the plan. Routes to the cheapest capable free LLM API.
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": {
"file": "<file>",
"module": "<module>"
},
"name": "refactory_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the monolith file | |
| module | Yes | Module name to extract (from the plan) | |
| functions | No | Function names to include | |
| outputDir | No | Output directory for extracted module | |
| plan | No | Path to the decomposition plan JSON |