write_section
Replace the body of a specific LaTeX section without altering its heading, then push the change to your Overleaf project.
Instructions
Replace one LaTeX section body, preserving the heading. Same push semantics as write_file.
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>",
"sectionTitle": "<sectionTitle>",
"newContent": "<newContent>"
},
"name": "write_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| newContent | Yes | ||
| projectName | No | Project name, fuzzy name, or 24-char project ID. Omit to use the default/sole project. | |
| sectionTitle | Yes | ||
| commitMessage | No | Required only when the project has no local workspace. |