doc2x_parse_image_layout_wait_text
Extracts text from images by waiting for layout parsing completion, returning structured markdown output for document processing workflows.
Instructions
Wait for an image-layout parse task until success, returning first page markdown. Prefer passing uid (no re-submit). If only image_path is provided, it will (a) reuse an in-process cached uid if available, otherwise (b) submit a new async task then wait.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "doc2x_parse_image_layout_wait_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Doc2x image-layout parse task uid returned by doc2x_parse_image_layout_submit. | |
| image_path | No | Absolute path to a local image file (png/jpg). Used to reuse cached uid or submit a new async task. | |
| max_wait_ms | No | ||
| poll_interval_ms | No |