txt_to_pdf
Convert plain text (.txt) files to PDF documents with configurable font size.
Instructions
Convert a plain text (.txt) file to a PDF.
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": "<file>"
},
"name": "txt_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| font_size | No | Font size in points (default 12) | |
| output_name | No | Output file path (defaults to same dir with suffix) |