code_write
Generate code from a specification and a reference file, with an option to write the output directly to a target file on the server.
Instructions
Generate code from a spec and reference file; optional server-side write.
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": {
"spec": "<spec>",
"reference_path": "<reference_path>"
},
"name": "code_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| model | No | ||
| target_path | No | ||
| reference_path | Yes |