Count a project
count_projectA LaTeX project in. Its pages, formulas, figures and tables out, with what each tool would cost for it, in cents. Free, with a key. Up to 24 MB for the project. A project that cannot be built costs nothing; the answer gives the file and line.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "count_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| main | No | The path of the main .tex file. Needed only when the project has more than one. | |
| files | No | The project's text files by their path inside the project, each file's whole text: the .tex files, and any .bib, .bbl, .sty, .cls or .tikz of your own. Example: {"main.tex": "\\documentclass{article}...", "chapters/one.tex": "..."}. | |
| archive | No | Instead of files: the whole project as one .zip or .tar.gz, base64-encoded. | |
| binary_files | No | Figures and other binary files by path, each base64-encoded. PNG and JPEG are placed as they are; a PDF, EPS or SVG figure is answered with its name, to be saved as a PNG. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| tables | No | ||
| figures | No | ||
| formulas | No | ||
| cost_cents | No | What each paid tool would cost for this project. |