validate_webhook_template
Validates a Jinja2 webhook template by rendering it with a synthetic event to detect parse errors and display output.
Instructions
Validate a Jinja2 webhook template against a synthetic event. Returns rendered output or parse error.
Args: template: Jinja2 template string. sample_event_type: Event type for the sample data (default "new_path").
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": {
"template": "<template>"
},
"name": "validate_webhook_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| sample_event_type | No | new_path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |