clone_project
Copy an existing project, including its files, root document, and compiler, into a new named project. Start new work from a lab, journal, or team template without rebuilding it.
Instructions
Copy an existing project, its files, root document, and compiler included, into a new project with the given name. Overleaf gives the copy the account's default TeX Live image and spell-check language; set them with update_project_settings when they matter. Use it to start from a lab or journal template project.
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": {
"sourceProjectId": "<sourceProjectId>",
"name": "<name>"
},
"name": "clone_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name, 1 to 150 characters without slashes | |
| sourceProjectId | Yes | Project to copy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| projectId | Yes |