log_function_use( agent: str | Agent, function: F, args: dict[str, Any], returns: any ) ->
agent
function
args
returns