const textEscapeTool: Tool<SpooledArtifact>;Escape or unescape special characters for a target context.
Supports json_string, regex, csv_field, sql_like, and markdown targets. Returns an error string for unknown targets rather than throwing.