export_document
Exports an open Surfer document to PNG, JPG, PDF, TIF, SVG, or EMF, using the output file extension to select the format.
Instructions
Export an open Surfer document to png, jpg, pdf, tif, svg or emf.
Args: output_file: Destination path; the extension selects the export filter. document: Document name, 1-based index, or "active".
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": {
"output_file": "<output_file>"
},
"name": "export_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | active | |
| output_file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |