full_document_workflow
Capture document pages, enhance images if needed, and convert to PDF. Automates navigation, processing, and conversion for complete document workflow. Outputs results in JSON format.
Instructions
Complete workflow: capture document pages, optionally process them, and convert to PDF.
Args:
window_id: Window ID containing the document
page_count: Number of pages to capture
output_pdf: Path for the final PDF file
capture_dir: Temporary directory for captures
title: Optional PDF title
navigation_key: Key for page navigation
delay_seconds: Delay between navigation and capture
process_images_flag: Whether to enhance images before PDF conversion
Returns:
JSON string with complete workflow results.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
capture_dir | No | ||
delay_seconds | No | ||
navigation_key | No | Page_Down | |
output_pdf | Yes | ||
page_count | Yes | ||
process_images_flag | No | ||
title | No | ||
window_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"capture_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Capture Dir"
},
"delay_seconds": {
"default": 1,
"title": "Delay Seconds",
"type": "number"
},
"navigation_key": {
"default": "Page_Down",
"title": "Navigation Key",
"type": "string"
},
"output_pdf": {
"title": "Output Pdf",
"type": "string"
},
"page_count": {
"title": "Page Count",
"type": "integer"
},
"process_images_flag": {
"default": true,
"title": "Process Images Flag",
"type": "boolean"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"window_id": {
"title": "Window Id",
"type": "string"
}
},
"required": [
"window_id",
"page_count",
"output_pdf"
],
"title": "full_document_workflowArguments",
"type": "object"
}