What is LLM Output Parsing?
LLM output parsing is the practice of extracting structured, machine-usable data—JSON, function calls, tool arguments, or typed fields—from free-form language-model responses so downstream systems can act on them safely. Weak parsing and validation are a common root cause of injection into tools, APIs, and databases (OWASP improper output handling).
Related Giskard articles
Test unsafe output parsing with Giskard
When agents parse LLM text into tool calls, validation bugs become security bugs. Giskard’s function-calling and agent tool-use checks catch malformed or malicious structured outputs before they hit production—see testing agent tool usage.
Further reading
Authoritative reference: OWASP LLM05 Improper Output Handling.