getPrinterPapers
Retrieves the paper sizes supported by a specified printer so you can set paper_format, print_options.paperFormat, and print_options.bin correctly.
Instructions
查询指定打印机支持的纸张列表,用于填 paper_format / print_options.paperFormat / print_options.bin
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": {
"printer_name": "<printer_name>"
},
"name": "getPrinterPapers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| driver_name | No | 驱动名;不填会自动从打印机列表里查 | |
| printer_name | Yes | 打印机名称,取自 getPrinterList |