parametersTemplateFunction(default: null)
A function used to render the parameters section body. Receives the widget options object as the first argument and must return an HTML string.
Example - use a custom parameters template
<div id="toolcall"></div>
<script>
$("#toolcall").kendoToolCall({
label: "search_web",
expandable: true,
expanded: true,
parameters: { query: "Kendo UI" },
parametersTemplate: function(opts) {
return "<span>" + kendo.htmlEncode(opts.parameters.query) + "</span>";
}
});
</script>