report_create
Create a COMSOL report node and configure its type, template, format, and optional title so you can add sections and generate HTML or DOCX output.
Instructions
Create a report feature and configure its output template/format.
COMSOL 6.4 facts discovered live: the template property accepts only
"default" or "custom" (the old brief/intermediate/
complete names are NOT valid), and a Report supports only
format = html or docx (PDF is not available through the
clientapi). Add content with report_add_section / report_add_content,
then write the file with report_generate.
Args:
tag: report tag (default "rpt1").
report_type: Report (default) | Presentation | Template.
template: "default" (default) or "custom" (with an imported
template file). Ignored for Presentation/Template nodes.
format: html (default) | docx for Report; Presentation uses
pptx. Can be overridden in report_generate.
title: optional title; creates a TitlePage content node carrying it.
model: model name/tag (None = current model).
Returns:
{"tag", "label", "type", "format", "template", "title_node"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "report_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | rpt1 | |
| model | No | ||
| title | No | ||
| format | No | html | |
| template | No | default | |
| report_type | No | Report |