Start a new report
create_reportMakes a new report in one of the workspace's projects, or in the workspace itself, from a template (list_report_templates gives the ids), as the person, saved as written by the assistant. Leave out document to start from the template's own starting document, which says in each part what to write there; or send the whole document already filled in, following the template's guidance: an object with schemaVersion 1 and blocks, each block with a unique id, its kind and version. The document is checked strictly and nothing is saved if a block is wrong; the answer then lists each problem. A design is one canvas block of live page boards, one per screen, joined by plain links (<a href="<board id>.html">) so the person clicks through it as a site; never use a screenshot of a screen you could build as a page. A new report is seen only by the workspace's members until someone shares it. The answer gives the new report's id and version number, not its content. A value too large for one call (a design with a page per screen size) goes as ?as=text uploads to upload_report_file, named by the tool's _file field or by text_files; it is checked as if sent inline.
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": "create_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The report's name. Left out: the template's name. | |
| document | No | The whole first version, already filled in: { schemaVersion: 1, blocks: [...] }. Left out: the template's starting document. | |
| template | Yes | The template's id (list_report_templates gives them). | |
| project_id | No | The project the report belongs to (list_projects gives ids). Leave it out for a report of the whole workspace, about no one project (a summary across projects, a plan for the business). | |
| text_files | No | Large texts sent as files instead of inline: each one PUT to upload_report_file's uploadUrl with ?as=text (its textCurl), then put at its pointer, such as "/blocks/0/html". Every text a block holds can go this way: a page's HTML, a supporting file's text, a long paragraph. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. | |
| document_file | No | In place of document: the sha256 of a ?as=text upload that is the whole document as JSON. | |
| idempotency_key | No | Any unique text. Sending the same key again answers the report the first call made and makes no second one, so a retry after a lost answer is safe. |