transform_set_function
Change a transform's function type, such as switching from PythonLocal to PEL, by updating its Function field.
Instructions
Set the Transform's Function type (e.g. change from 'PythonLocal' to 'PEL'). This writes to the 'Function' child field. Note: For Optimize type, use transform_create with transform_type='Optimize' instead.
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": {
"transform_path": "<transform_path>",
"function": "<function>"
},
"name": "transform_set_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function | Yes | Function type to set | |
| transform_path | Yes | Transform path |