heredoc-file-write
Use shell heredoc syntax as a workaround when write_file fails on complex TypeScript/JSX/code files with encoding or escaping issues
Use shell heredoc syntax as a workaround when write_file fails on complex TypeScript/JSX/code files with encoding or escaping issues
Progressive tool-chain PDF extraction with explicit read_file, run_shell, and execute_code_sandbox sequencing
PDF extraction with ordered tool chain: read_file, then run_shell/pdftotext, then execute_code_sandbox/PyMuPDF
Multi-fallback PDF download and text extraction with early failure detection
Multi-fallback PDF extraction with sequential approaches and early failure detection
Multi-fallback PDF/text extraction with early failure detection and sequential tool fallbacks
Extract text from PDFs using shell tools when read_file fails
Verify PDF page count and content using command-line tools when Python libraries unavailable
Validate PowerPoint files using python-pptx when standard file readers fail
Verify PowerPoint presentation contents using python-pptx via shell when standard file readers fail
Validate PowerPoint files using python-pptx when read_file fails
Fallback workflow for regulatory research when web extraction tools fail on government PDFs
Extract PDF text content using shell tools or Python libraries when read_file PDF handler fails
Use shell commands or Python libraries to extract PDF text when read_file PDF handler fails
Reliably extract text from PDFs using pdftotext when standard file reading fails.
Generate professional documents after tool failures using shell_agent for complex formats or write_file for simple text/markdown
Check available FFmpeg encoders before writing encoding scripts to avoid library version mismatches
Check FFmpeg encoder availability before video encoding to avoid library mismatches
Graceful degradation workflow for ffmpeg encoding failures with progressive fallback strategies
Audit generated Excel reports by enumerating populated output rows, exposing formulas, and checking that each subtotal range includes all visible detail rows.