add_equation_docx
Insert LaTeX, MathML, or OMML math equations into .docx files as block or inline content, with equation numbering, placeholders, alignment, and table placement.
Instructions
Menyisipkan rumus matematika (Equation) ke file .docx dari format LaTeX, MathML, atau OMML. Mendukung mode block (persamaan mandiri di tengah) dan inline (sejajar teks), penomoran persamaan rata kanan ala jurnal/skripsi (equation_number), penggantian placeholder teks (placeholder), ukuran font (font_size_pt), perataan, serta penempatan di paragraf atau sel tabel.
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>",
"equation": "<equation>"
},
"name": "add_equation_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | ||
| row | No | ||
| equation | Yes | ||
| alignment | No | ||
| file_path | Yes | ||
| text_after | No | ||
| placeholder | No | ||
| table_index | No | ||
| text_before | No | ||
| display_mode | No | block | |
| font_size_pt | No | ||
| insert_before | No | ||
| space_after_pt | No | ||
| equation_number | No | ||
| paragraph_index | No | ||
| space_before_pt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |