Update project settings
typst_update_projectRename a Typst project, set its main preview/compile file, or pin a compiler version to control how the web app builds and previews documents.
Instructions
Rename a project, set its main (previewed/compiled) file, or pin the compiler version used by the web app.
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": {
"project_id": "<project_id>"
},
"name": "typst_update_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| main_file | No | Project-relative path like 'chapters/intro.typ', or a file ID | |
| project_id | Yes | Project ID from typst_list_projects, e.g. 'pAbC123dEf456gHi789jKl' | |
| pinned_version | No | Compiler version like '0.14.2' |