Write a text file
overleaf_write_fileCreate or overwrite text files in Overleaf projects. Missing parent folders are created automatically, enabling direct file management.
Instructions
Create or overwrite a text file in the project. Missing parent folders are created.
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": {
"filePath": "<filePath>",
"content": "<content>"
},
"name": "overleaf_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| filePath | Yes | ||
| projectId | No |