Preview AST transforms
ast_transform_previewPreview deterministic JavaScript transforms on code and get a bounded line diff of the changes.
Instructions
Preview supported deterministic JavaScript transforms and return a bounded line diff.
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": {
"code": "<code>",
"transforms": "<transforms>"
},
"name": "ast_transform_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| transforms | Yes |