overleaf_create_file
Create an empty root-level file in an Overleaf project by providing project ID and file name.
Instructions
Create one empty root-level file. Usually unnecessary because overleaf_upload_file creates a new root-level file when no same-named file exists; use only when an empty file is specifically needed.
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>",
"file_name": "<file_name>"
},
"name": "overleaf_create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Single file name, for example "introduction.tex" or "references.bib" | |
| project_id | Yes | 24-character hexadecimal Overleaf project ID from the project URL |