FunctionsAgentAction: {
    log: string;
    messageLog?: undefined | BaseMessage[];
    tool: string;
    toolInput: string | Record<string, any>;
}

Type that represents an agent action with an optional message log.