New to Kendo UI for jQuery? Start a free 30-day trial

ParametersTemplate

configuration

A function used to render the parameters section body. Receives the widget options object as the first argument and must return an HTML string.

Default: null

<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>
Not finding the help you need?
Contact Support