create_latex_file
Generate LaTeX documents with customizable structure, content, and packages for academic or technical writing.
Instructions
Create a new LaTeX document with specified content and structure.
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": {
"file_path": "<file_path>"
},
"name": "create_latex_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path for the new .tex file (relative to base dir) | |
| document_type | No | article | |
| title | No | ||
| author | No | ||
| date | No | \today | |
| content | No | ||
| packages | No | Extra LaTeX packages to include | |
| geometry | No | Geometry settings, e.g. 'margin=1in' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file | |
| success | Yes | ||
| message | Yes | ||
| content | No | File content if applicable |