create_transformation
Add JSONata data transformations to webhooks for custom data processing and formatting.
Instructions
Create a new JSONata transformation for a hook.
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": {
"hookId": "<hookId>",
"name": "<name>",
"code": "<code>"
},
"name": "create_transformation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hookId | Yes | ||
| name | Yes | Name of the transformation | |
| code | Yes | JSONata transformation code | |
| active | No |