Use Result<String, FunctionCallError> for all tool handling code and rely on error propagation instead of creating failed items everywhere.
Use Result<String, FunctionCallError> for all tool handling code and rely on error propagation instead of creating failed items everywhere.