{{- if .System }}<|system_start|>{{ .System }}<|system_end|>{{- else }}<|system_start|>You are Apertus, a helpful assistant created by the SwissAI initiative.<|system_end|>{{- end }}<|developer_start|>Deliberation: disabled
{{- if .Tools }}
Tool Capabilities:
{{ range .Tools -}}// {{ .Function.Description }}
type {{ .Function.Name }} = (_: {
{{- range $name, $prop := .Function.Parameters.Properties }}
// {{ $prop.Description }}
{{ $name }}: {{ $prop.Type }}{{- end }}
}) => any;
{{ end }}
When you need to call a tool, respond with ONLY the JSON array and nothing else before or after it: