Skip to main content

parse_tool_call_questions

Function parse_tool_call_questions 

Source
pub fn parse_tool_call_questions(
    session: &str,
    name: &str,
    input_json: &str,
) -> Vec<UserQuestion>
Expand description

Parses tool call JSON input into a list of normalized UserQuestions.

If input is invalid JSON or unknown format, gracefully falls back to a text question rather than failing or panicking.