extract_tool_calls_from_text
_collect_tool_calls
_try_parse_json_like
_find_json_candidate
__INLINE_CODE_0__
.
def extract_tool_calls_from_text(content: str):
def _collect_tool_calls(payload: Any, accumulator: List[Dict[str, Any]]):
def _try_parse_json_like(snippet: str):
def _find_json_candidate(content: str, start_idx: int):
__INLINE_CODE_0__
.
def _truncate_snippet(snippet: str, limit: int = 120):