read_file
Reads the full text of LaTeX project files such as .tex, .bib, .cls, and .sty. Use get_project_files first to obtain the file ID needed for a CSTCloud LaTeX project.
Instructions
Read the content of a document (.tex, .bib, .cls, .sty, etc.) in a CSTCloud LaTeX project. Returns the full text content of the file. Use get_project_files first to find the file ID.
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_id": "<file_id>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file/document ID (from get_project_files) | |
| project_id | Yes | The project ID |