setup_local
Clones an Overleaf project to a local folder and registers it so subsequent file operations use that local copy.
Instructions
Clone a project into a visible local folder (full working tree: .tex, .cls, .bst, images, etc.) and register it so reads/writes route there.
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": {
"projectName": "<projectName>"
},
"name": "setup_local"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | No | Destination folder. Relative paths resolve against OVERLEAF_WORKSPACE_ROOT (default: cwd). Defaults to ./<sanitized-project-name>. | |
| projectName | Yes | Project name, fuzzy name, or 24-char project ID. Omit to use the default/sole project. |