file_converter_optimize_action
Compress PDF, PNG, or JPG files to reduce file size while maintaining quality. Specify a profile for web, print, archive, or max optimization.
Instructions
Compress and optimize PDF, PNG, or JPG files without changing the format. Reduces file size while maintaining quality.
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": {
"input_file_url": "<input_file_url>",
"input_format": "<input_format>",
"output_variable_name": "<output_variable_name>"
},
"name": "file_converter_optimize_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file_url | Yes | S3 or public URL of the file to optimize. | |
| input_format | Yes | File extension (pdf, png, or jpg). | |
| profile | No | web | |
| output_variable_name | Yes | Variable name for the result. | optimized_file |