hexum_splice
Small AST-valid write. Pass symbol_name + new_implementation to replace a symbol, or line + new_source to replace the node at a line.
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_path": "<file_path>"
},
"name": "hexum_splice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | ||
| column | No | ||
| file_path | Yes | ||
| node_kind | No | ||
| new_source | No | ||
| symbol_name | No | ||
| new_implementation | No | Full new function or class source, including signature. |