Create a project
create_projectCreate a new LaTeX project, blank or from a template, and return its ID, content version, and seeded files so write tools can edit it.
Instructions
Create a new project, blank or from a template, and return its id for the write tools, with contentVersion (pass it as base_version to the first write) and the files the template seeded. Needs a token with access to all projects — a project-scoped token cannot create; if refused, relay that to the user (they can mint an unscoped token in Settings → Agent access).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name shown in the workspace. | |
| template | No | Template id from the workspace gallery: a folder template ("article", "beamer", "report", "iac-paper") or a venue kit ("venue:neurips", "venue:elsarticle", …; the publisher's class files are downloaded when they are not installed). An unknown id is refused with the full list. "blank" creates a project with no files and no main document — the first .tex written becomes it. Omit for a starter main.tex + references.bib. |